summaryrefslogtreecommitdiffstats
path: root/AndroidManifest.xml
diff options
context:
space:
mode:
authormariagpuyol <mariagpuyol@google.com>2016-02-18 11:25:29 -0800
committermariagpuyol <mariagpuyol@google.com>2016-02-22 18:15:06 -0800
commita2a997e08d7fa513c171a6396beeaf8367e567a1 (patch)
tree131856d9671abcbff3d42bca70187cfeab1e9159 /AndroidManifest.xml
parent59d29956a43581f62796cf04d11815478ff2e401 (diff)
downloadandroid_packages_apps_EmergencyInfo-a2a997e08d7fa513c171a6396beeaf8367e567a1.tar.gz
android_packages_apps_EmergencyInfo-a2a997e08d7fa513c171a6396beeaf8367e567a1.tar.bz2
android_packages_apps_EmergencyInfo-a2a997e08d7fa513c171a6396beeaf8367e567a1.zip
Show emergency information in setup wizard
Bug:27274717 Change-Id: I71db38a8605a8170f75ca76ca78a49f898e32311
Diffstat (limited to 'AndroidManifest.xml')
-rw-r--r--AndroidManifest.xml35
1 files changed, 33 insertions, 2 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index cd2e898..3df5e8e 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -1,4 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2007 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.
+-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.emergency">
@@ -7,7 +21,7 @@
<application
android:label="@string/app_name"
- android:theme="@style/Theme.AppCompat.Light.DarkActionBar">
+ android:theme="@style/AppTheme">
<activity
android:name=".ViewInfoActivity"
android:showOnLockScreen="true">
@@ -17,12 +31,29 @@
</intent-filter>
</activity>
- <activity android:name=".EditInfoActivity">
+ <activity
+ android:name=".EditInfoActivity">
<intent-filter>
<action android:name="android.settings.EDIT_EMERGENGY_INFO" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
+ <!-- TODO: Change the icon to the app's icon once ready -->
+ <activity
+ android:name=".SetupWizardEditInfoActivity"
+ android:icon="@drawable/ic_menu_add_dark">
+ <intent-filter android:priority="10">
+ <action android:name="android.intent.action.MAIN" />
+ <category android:name="com.android.settings.suggested.category.EMERGENCY_INFO" />
+ </intent-filter>
+
+ <meta-data
+ android:name="com.android.settings.title"
+ android:resource="@string/emergency_info_title" />
+ <meta-data
+ android:name="com.android.settings.summary"
+ android:resource="@string/emergency_info_summary" />
+ </activity>
</application>
</manifest>