Merge "Add android:key to all preferences."
diff --git a/res/xml/edit_emergency_info.xml b/res/xml/edit_emergency_info.xml
index c7512a9..f537c33 100644
--- a/res/xml/edit_emergency_info.xml
+++ b/res/xml/edit_emergency_info.xml
@@ -15,6 +15,7 @@
 -->
 <PreferenceScreen
         xmlns:android="http://schemas.android.com/apk/res/android"
+        android:key="edit_emergency_info_settings"
         android:title="@string/app_label">
     <PreferenceCategory
             android:key="medical_info"
@@ -108,5 +109,6 @@
 
     <com.android.settingslib.widget.FooterPreference
         android:title="@string/emergency_info_footer"
+        android:key="footer_preference"
         android:selectable="false"/>
 </PreferenceScreen>
diff --git a/res/xml/edit_medical_info.xml b/res/xml/edit_medical_info.xml
index 178cda6..8bc2383 100644
--- a/res/xml/edit_medical_info.xml
+++ b/res/xml/edit_medical_info.xml
@@ -15,7 +15,8 @@
 -->
 <PreferenceScreen
     xmlns:android="http://schemas.android.com/apk/res/android"
-    xmlns:app="http://schemas.android.com/apk/res-auto">
+    xmlns:app="http://schemas.android.com/apk/res-auto"
+    android:key="edit_medical_info_settings">
 
     <com.android.emergency.preferences.NameAutoCompletePreference
         android:icon="@drawable/ic_account_circle"