Add explanatory text to the Emergency Info edit view.

This replaces the consent dialog that used to appear.

Fix: 30046624
Test: runtest --path packages/apps/EmergencyInfo/tests
Change-Id: I627a9a2911d31475109ac1284bcdc5afd03daedc
diff --git a/res/values/styles.xml b/res/values/styles.xml
index 80a7906..a2e6437 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -60,5 +60,13 @@
     </style>
 
     <style name="PreferenceTheme" parent="@style/PreferenceThemeOverlay.v14.Material">
+        <!-- Parent path frameworks/support/v14/preference/res/values/themes.xml -->
+        <item name="android:scrollbars">vertical</item>
+        <item name="footerPreferenceStyle">@style/FooterPreference</item>
+    </style>
+
+    <style name="FooterPreference" parent="PreferenceTheme">
+        <item name="android:layout">@layout/preference_footer</item>
+        <item name="allowDividerAbove">true</item>
     </style>
 </resources>
diff --git a/res/xml/edit_emergency_info.xml b/res/xml/edit_emergency_info.xml
index 5f4ff73..c7512a9 100644
--- a/res/xml/edit_emergency_info.xml
+++ b/res/xml/edit_emergency_info.xml
@@ -105,4 +105,8 @@
         android:key="add_emergency_contact"
         android:icon="@drawable/ic_add_24dp"
         android:title="@string/add_emergency_contact"/>
+
+    <com.android.settingslib.widget.FooterPreference
+        android:title="@string/emergency_info_footer"
+        android:selectable="false"/>
 </PreferenceScreen>