From 29f0b0f5784c099d9bf8283e1d07b74c71efc096 Mon Sep 17 00:00:00 2001
From: Sandeep Siddhartha <sansid@google.com>
Date: Tue, 14 Oct 2014 10:15:30 -0700
Subject: [PATCH] Add label and icon to the test app

This helps us easilty distinguish between the different test targets visually.

Bug: 17946996
Change-Id: I822a29cfb9b5bc5df3d93a884ffdf7d050737e04
---
 tests/AndroidManifest.xml          |   3 ++-
 tests/res/drawable-hdpi/ic_app.png | Bin 0 -> 635 bytes
 tests/res/values/strings.xml       |  22 ++++++++++++++++++++++
 3 files changed, 24 insertions(+), 1 deletion(-)
 create mode 100644 tests/res/drawable-hdpi/ic_app.png
 create mode 100644 tests/res/values/strings.xml

diff --git a/tests/AndroidManifest.xml b/tests/AndroidManifest.xml
index 26195d39f0..c7a9e13a2a 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 0000000000000000000000000000000000000000..345c23d2c1e76a4ab73184dc4323e70171750038
GIT binary patch
literal 635
zcmV->0)+jEP)<h;3K|Lk000e1NJLTq003kF003kJ0{{R3g3O3#0000RP)t-s00030
z|Noz#pTEDqe}8{JKR;hzU*F%~A0Hpt{_PzA00J9HL_t(oh3%BPlhZH|hjohWs654v
zosvv$sAB>QWjrv@Cc_yh9UiHpn;VYOKDdED8?9C^+n1K1(62}~(tgsu6heZ6f`WpA
zg8qS+Xa70twc1+qTJYj!i}t;=pYNm*Z8n={SD!p0=9k92=Qmd?o+&%xH*Z#=kPI#E
z?gZyA91>-@fdwolVhum4@38VtMnLBf@E88XBGXr?w)V(U_{})R*J^~2-<d`BO{t?7
z4Sp}>(aFp@Xv7=>4($P5BjYudK2bhINVPR9DY;mq=R&W*4Rnm`*JeK_6nzgiKhesf
zjF8SClS`7|_Ht)qZAhG+M>=_SfoEH%gN(Xt&LUN#&u4{2V6)4I2pptTLSm3b?8<s^
zGJW+Cp#x{&I6Vyz7@?p1w)K(7WEaiNqSw5sn!5LVwsQzu{xG}tf+QOt<d>MiJv6WD
z`fHiCdRL{PiZu)jmIRzkIcVlupe!icAbm^&sz|fr@#sAlegsvrs?0Udc7T*yS23-G
zqZY((B}S{@(+HVBYIS`Lshc-|aq2=WMo5QItIoUO78ah&M~E2$xS=yidn5S>VuAsb
zn#N4rTNwvts{}VN6HjFe_DK5nAwdA-fFqF<5@m?P-#{Pfy<J&x$P9-m&VZpn_YwP?
z35So5#nW$km{^&<tv_=$Fg--R*q-&;4O6_7_AMD9BRza@!}Q<}R!~q-P*BkSrN1V?
VS4lwk_4xn*002ovPDHLkV1oZLBIE!7

literal 0
HcmV?d00001

diff --git a/tests/res/values/strings.xml b/tests/res/values/strings.xml
new file mode 100644
index 0000000000..5cc48b6bfb
--- /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>
-- 
GitLab