Move work notification settings back to bottom

- Settings order now matches
- screenshot with work profile: https://hsv.googleplex.com/5742195667632128
- screenshot without work profile: https://hsv.googleplex.com/5683485175971840

Bug: 64436619
Test: RunSettingsRoboTests; manual

Merged-In: Ia665ee5295981e11193e69585232874d1dddba23

Change-Id: Ia665ee5295981e11193e69585232874d1dddba23
This commit is contained in:
Winston Man
2017-08-08 14:32:52 +01:00
parent b1c0e38284
commit c603a99ba4

View File

@@ -22,16 +22,11 @@
android:key="dashboard_tile_placeholder" android:key="dashboard_tile_placeholder"
android:order="1"/> android:order="1"/>
<PreferenceCategory <!-- When device is locked -->
android:key="lock_screen_notifications_profile_header" <com.android.settings.notification.RestrictedDropDownPreference
android:title="@string/profile_section_header"> android:key="lock_screen_notifications"
android:title="@string/lock_screen_notifications_title"
<com.android.settings.notification.RestrictedDropDownPreference android:summary="@string/summary_placeholder"/>
android:key="lock_screen_notifications_profile"
android:title="@string/lock_screen_notifications_title"
android:summary="@string/summary_placeholder"/>
</PreferenceCategory>
<!-- Notification badging --> <!-- Notification badging -->
<SwitchPreference <SwitchPreference
@@ -43,12 +38,6 @@
android:key="notification_pulse" android:key="notification_pulse"
android:title="@string/notification_pulse_title"/> android:title="@string/notification_pulse_title"/>
<!-- When device is locked -->
<com.android.settings.notification.RestrictedDropDownPreference
android:key="lock_screen_notifications"
android:title="@string/lock_screen_notifications_title"
android:summary="@string/summary_placeholder"/>
<!-- Default notification ringtone --> <!-- Default notification ringtone -->
<com.android.settings.DefaultRingtonePreference <com.android.settings.DefaultRingtonePreference
android:key="notification_default_ringtone" android:key="notification_default_ringtone"
@@ -62,4 +51,14 @@
android:title="@string/fingerprint_swipe_for_notifications_title" android:title="@string/fingerprint_swipe_for_notifications_title"
android:fragment="com.android.settings.gestures.SwipeToNotificationSettings" /> android:fragment="com.android.settings.gestures.SwipeToNotificationSettings" />
<PreferenceCategory
android:key="lock_screen_notifications_profile_header"
android:title="@string/profile_section_header">
<com.android.settings.notification.RestrictedDropDownPreference
android:key="lock_screen_notifications_profile"
android:title="@string/lock_screen_notifications_title"
android:summary="@string/summary_placeholder"/>
</PreferenceCategory>
</PreferenceScreen> </PreferenceScreen>