Fix Ordering Of Work Notifications Settings
The work notification settings were previously moved to the bottom of the notification settings screen, but subsequent changes have caused them to appear near the top again. Move them back to the bottom. Fixes: 64436619 Test: Open Settings app manually with and without a work profile Change-Id: I90a03eb5c018a7684329e395da027a2f736516eb
This commit is contained in:
@@ -25,17 +25,6 @@
|
||||
android:title="@string/lock_screen_notifications_title"
|
||||
android:summary="@string/summary_placeholder"/>
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="lock_screen_notifications_profile_header"
|
||||
android:title="@string/profile_section_header">
|
||||
|
||||
<com.android.settings.RestrictedListPreference
|
||||
android:key="lock_screen_notifications_profile"
|
||||
android:title="@string/lock_screen_notifications_title"
|
||||
android:summary="@string/summary_placeholder"/>
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
<!-- Notification badging -->
|
||||
<SwitchPreference
|
||||
android:key="notification_badging"
|
||||
@@ -84,5 +73,19 @@
|
||||
</Preference>
|
||||
</PreferenceCategory>
|
||||
|
||||
<!-- Place work profile section at the bottom to avoid users thinking that any of the
|
||||
above settings are specific to the work profile -->
|
||||
<PreferenceCategory
|
||||
android:key="lock_screen_notifications_profile_header"
|
||||
android:title="@string/profile_section_header"
|
||||
android:order="23">
|
||||
|
||||
<com.android.settings.RestrictedListPreference
|
||||
android:key="lock_screen_notifications_profile"
|
||||
android:title="@string/lock_screen_notifications_title"
|
||||
android:summary="@string/summary_placeholder"
|
||||
android:order="24"/>
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
</PreferenceScreen>
|
||||
|
||||
Reference in New Issue
Block a user