summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSantos Cordon <santoscordon@google.com>2015-01-12 17:23:51 -0800
committerSantos Cordon <santoscordon@google.com>2015-01-13 09:26:54 -0800
commit339272c8696803e168c2c12e0658afee1da9a902 (patch)
tree7a805429c0b88119c7839b16aa1cadf004dac32a
parent0aa60e55c33382afa64260271eea6e539684d630 (diff)
downloadandroid_packages_providers_CallLogProvider-339272c8696803e168c2c12e0658afee1da9a902.tar.gz
android_packages_providers_CallLogProvider-339272c8696803e168c2c12e0658afee1da9a902.tar.bz2
android_packages_providers_CallLogProvider-339272c8696803e168c2c12e0658afee1da9a902.zip
Add new empty project for CallLogProvider
Contents copied mostly from ContactsProvider. Change-Id: Ib9e272052456e175057730af9d73c701b1e053fa
-rw-r--r--Android.mk25
-rw-r--r--AndroidManifest.xml12
-rw-r--r--MODULE_LICENSE_APACHE20
-rw-r--r--NOTICE0
-rw-r--r--proguard.flags1
-rw-r--r--res/drawable-hdpi/app_icon.pngbin0 -> 3169 bytes
-rw-r--r--res/drawable-mdpi/app_icon.pngbin0 -> 2062 bytes
-rw-r--r--res/drawable-xhdpi/app_icon.pngbin0 -> 4430 bytes
-rw-r--r--res/values/strings.xml26
9 files changed, 64 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
new file mode 100644
index 0000000..83f8f26
--- /dev/null
+++ b/Android.mk
@@ -0,0 +1,25 @@
+LOCAL_PATH:= $(call my-dir)
+include $(CLEAR_VARS)
+
+LOCAL_MODULE_TAGS := optional
+
+# Only compile source java files in this apk.
+LOCAL_SRC_FILES := $(call all-java-files-under, src)
+
+# The Emma tool analyzes code coverage when running unit tests on the
+# application. This configuration line selects which packages will be analyzed,
+# leaving out code which is tested by other means (e.g. static libraries) that
+# would dilute the coverage results. These options do not affect regular
+# production builds.
+LOCAL_EMMA_COVERAGE_FILTER := +com.android.providers.calllog.*
+
+LOCAL_PACKAGE_NAME := CallLogProvider
+LOCAL_CERTIFICATE := shared
+LOCAL_PRIVILEGED_MODULE := true
+
+LOCAL_PROGUARD_FLAG_FILES := proguard.flags
+
+include $(BUILD_PACKAGE)
+
+# Use the following include to make our test apk.
+include $(call all-makefiles-under,$(LOCAL_PATH))
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
new file mode 100644
index 0000000..0654e39
--- /dev/null
+++ b/AndroidManifest.xml
@@ -0,0 +1,12 @@
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="com.android.providers.calllog"
+ android:sharedUserId="android.uid.shared"
+ android:sharedUserLabel="@string/sharedUserLabel">
+
+ <application android:process="android.process.acore"
+ android:label="@string/app_label"
+ android:icon="@drawable/app_icon"
+ android:allowBackup="true">
+
+ </application>
+</manifest>
diff --git a/MODULE_LICENSE_APACHE2 b/MODULE_LICENSE_APACHE2
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/MODULE_LICENSE_APACHE2
diff --git a/NOTICE b/NOTICE
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/NOTICE
diff --git a/proguard.flags b/proguard.flags
new file mode 100644
index 0000000..c4af490
--- /dev/null
+++ b/proguard.flags
@@ -0,0 +1 @@
+-verbose
diff --git a/res/drawable-hdpi/app_icon.png b/res/drawable-hdpi/app_icon.png
new file mode 100644
index 0000000..64eff00
--- /dev/null
+++ b/res/drawable-hdpi/app_icon.png
Binary files differ
diff --git a/res/drawable-mdpi/app_icon.png b/res/drawable-mdpi/app_icon.png
new file mode 100644
index 0000000..b4ee821
--- /dev/null
+++ b/res/drawable-mdpi/app_icon.png
Binary files differ
diff --git a/res/drawable-xhdpi/app_icon.png b/res/drawable-xhdpi/app_icon.png
new file mode 100644
index 0000000..6feeadf
--- /dev/null
+++ b/res/drawable-xhdpi/app_icon.png
Binary files differ
diff --git a/res/values/strings.xml b/res/values/strings.xml
new file mode 100644
index 0000000..09d70f9
--- /dev/null
+++ b/res/values/strings.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright (C) 2015 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <!-- Label for this app's shared user ID (and thus for all other
+ apps sharing the uid). -->
+ <string name="sharedUserLabel">Android Core Apps</string>
+
+ <!-- This is the label for the application that stores call-log data. -->
+ <string name="app_label">Call Log Storage</string>
+
+</resources>