Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e98055b9 authored by Fan Zhang's avatar Fan Zhang
Browse files

Add a few native setting items to safety page

* Emergency info
* Emergency sos
* WEA

The pages are not removed from their old place yet, because the new
safety page is not yet visible to users.

https://screenshot.googleplex.com/92VGQxR4ocuiutj.png

Bug: 175158310
Test: manual
Change-Id: I0484f1724e626c8de822460844b5a4c93b7ff815
parent 9b1fb77b
Loading
Loading
Loading
Loading
+19 −0
Original line number Diff line number Diff line
@@ -19,4 +19,23 @@
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:settings="http://schemas.android.com/apk/res-auto"
    android:title="@string/emergency_settings_preference_title">
    <Preference
        android:key="emergency_info"
        android:title="@string/emergency_info_title"
        android:summary="@string/summary_placeholder"
        settings:controller="com.android.settings.accounts.EmergencyInfoPreferenceController"/>
    <Preference
        android:key="gesture_emergency_summary"
        android:title="@string/emergency_gesture_screen_title"
        android:fragment="com.android.settings.gestures.EmergencyGestureSettings"
        settings:controller="com.android.settings.gestures.EmergencyGestureEntrypointPreferenceController" />
    <com.android.settingslib.RestrictedPreference
        android:key="app_and_notif_cell_broadcast_settings"
        android:title="@string/cell_broadcast_settings"
        settings:useAdminDisabledSummary="true">
        <intent
            android:action="android.intent.action.MAIN"
            android:targetPackage="@string/cell_broadcast_receiver_package"
            android:targetClass="com.android.cellbroadcastreceiver.CellBroadcastSettings"/>
    </com.android.settingslib.RestrictedPreference>
</PreferenceScreen>
 No newline at end of file