summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Bestas <mikeioannina@gmail.com>2015-02-03 11:09:38 +0200
committerMichael Bestas <mikeioannina@gmail.com>2015-02-03 12:21:30 +0200
commitcc3cfd8546b146300585ae335449a284d1f8238d (patch)
treec65e924b1b485ce40bb92b3041bbc1564d237d78
parent028e39a1fdc9b3e63680bd736d46ae00d5387920 (diff)
downloadpackages_apps_InCallUI-cc3cfd8546b146300585ae335449a284d1f8238d.tar.gz
packages_apps_InCallUI-cc3cfd8546b146300585ae335449a284d1f8238d.tar.bz2
packages_apps_InCallUI-cc3cfd8546b146300585ae335449a284d1f8238d.zip
Add Material icon & app label
Change-Id: I425be4aa9e769f337ed941cea862e93ced18ce3e
-rw-r--r--Android.mk4
-rw-r--r--AndroidManifest.xml2
-rw-r--r--res_cm/mipmap-hdpi/ic_launcher_phone.pngbin0 -> 2468 bytes
-rw-r--r--res_cm/mipmap-mdpi/ic_launcher_phone.pngbin0 -> 1623 bytes
-rw-r--r--res_cm/mipmap-xhdpi/ic_launcher_phone.pngbin0 -> 3515 bytes
-rw-r--r--res_cm/mipmap-xxhdpi/ic_launcher_phone.pngbin0 -> 5595 bytes
-rw-r--r--res_cm/mipmap-xxxhdpi/ic_launcher_phone.pngbin0 -> 7958 bytes
-rw-r--r--res_cm/values/cm_strings.xml19
8 files changed, 23 insertions, 2 deletions
diff --git a/Android.mk b/Android.mk
index d5d760df..8f86722b 100644
--- a/Android.mk
+++ b/Android.mk
@@ -1,10 +1,10 @@
LOCAL_PATH:= $(call my-dir)
+
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
-# Need to specify an invalid resoure path to avoid including resource
-LOCAL_RESOURCE_DIR := res_none
+LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res_cm
# Without any resource, we don't depend on framework-res in the build
# system, but we actually do to compile AndroidManifest.xml. Avoid
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index df651187..0e5eb6f9 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -26,6 +26,8 @@
in time when the process is killed and an incoming call is received.
-->
<application
+ android:icon="@mipmap/ic_launcher_phone"
+ android:label="@string/app_name"
android:persistent="true"
android:hasCode="false">
</application>
diff --git a/res_cm/mipmap-hdpi/ic_launcher_phone.png b/res_cm/mipmap-hdpi/ic_launcher_phone.png
new file mode 100644
index 00000000..aa3f099e
--- /dev/null
+++ b/res_cm/mipmap-hdpi/ic_launcher_phone.png
Binary files differ
diff --git a/res_cm/mipmap-mdpi/ic_launcher_phone.png b/res_cm/mipmap-mdpi/ic_launcher_phone.png
new file mode 100644
index 00000000..b554b7c8
--- /dev/null
+++ b/res_cm/mipmap-mdpi/ic_launcher_phone.png
Binary files differ
diff --git a/res_cm/mipmap-xhdpi/ic_launcher_phone.png b/res_cm/mipmap-xhdpi/ic_launcher_phone.png
new file mode 100644
index 00000000..5b9aff00
--- /dev/null
+++ b/res_cm/mipmap-xhdpi/ic_launcher_phone.png
Binary files differ
diff --git a/res_cm/mipmap-xxhdpi/ic_launcher_phone.png b/res_cm/mipmap-xxhdpi/ic_launcher_phone.png
new file mode 100644
index 00000000..4e204d4a
--- /dev/null
+++ b/res_cm/mipmap-xxhdpi/ic_launcher_phone.png
Binary files differ
diff --git a/res_cm/mipmap-xxxhdpi/ic_launcher_phone.png b/res_cm/mipmap-xxxhdpi/ic_launcher_phone.png
new file mode 100644
index 00000000..3efbee9f
--- /dev/null
+++ b/res_cm/mipmap-xxxhdpi/ic_launcher_phone.png
Binary files differ
diff --git a/res_cm/values/cm_strings.xml b/res_cm/values/cm_strings.xml
new file mode 100644
index 00000000..d1602308
--- /dev/null
+++ b/res_cm/values/cm_strings.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright (C) 2015 The CyanogenMod 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>
+ <string name="app_name">In-call interface</string>
+</resources>