summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorSandeep Siddhartha <sansid@google.com>2014-10-14 10:15:30 -0700
committerSandeep Siddhartha <sansid@google.com>2014-10-14 10:17:35 -0700
commit29f0b0f5784c099d9bf8283e1d07b74c71efc096 (patch)
treea9c96b84b5e1b50b66a0826d63c1a142cb47c73c /tests
parentcbd59e02a97dac53ec97f59c1a638bc421ba4a52 (diff)
downloadandroid_packages_inputmethods_LatinIME-29f0b0f5784c099d9bf8283e1d07b74c71efc096.tar.gz
android_packages_inputmethods_LatinIME-29f0b0f5784c099d9bf8283e1d07b74c71efc096.tar.bz2
android_packages_inputmethods_LatinIME-29f0b0f5784c099d9bf8283e1d07b74c71efc096.zip
Add label and icon to the test app
This helps us easilty distinguish between the different test targets visually. Bug: 17946996 Change-Id: I822a29cfb9b5bc5df3d93a884ffdf7d050737e04
Diffstat (limited to 'tests')
-rw-r--r--tests/AndroidManifest.xml3
-rw-r--r--tests/res/drawable-hdpi/ic_app.pngbin0 -> 635 bytes
-rw-r--r--tests/res/values/strings.xml22
3 files changed, 24 insertions, 1 deletions
diff --git a/tests/AndroidManifest.xml b/tests/AndroidManifest.xml
index 26195d39f..c7a9e13a2 100644
--- a/tests/AndroidManifest.xml
+++ b/tests/AndroidManifest.xml
@@ -21,7 +21,8 @@
<uses-permission android:name="android.permission.READ_CONTACTS" />
- <application>
+ <application android:label="@string/app_name"
+ android:icon="@drawable/ic_app">
<uses-library android:name="android.test.runner" />
<!-- meta-data android:name="com.android.contacts.iconset" android:resource="@xml/iconset" /-->
</application>
diff --git a/tests/res/drawable-hdpi/ic_app.png b/tests/res/drawable-hdpi/ic_app.png
new file mode 100644
index 000000000..345c23d2c
--- /dev/null
+++ b/tests/res/drawable-hdpi/ic_app.png
Binary files differ
diff --git a/tests/res/values/strings.xml b/tests/res/values/strings.xml
new file mode 100644
index 000000000..5cc48b6bf
--- /dev/null
+++ b/tests/res/values/strings.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+**
+** Copyright 2014, 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>
+ <string name="app_name" translatable="false">LatinIMETests</string>
+</resources>