OSDN Git Service

Move work profile notification settings to the bottom.
authorPavel Grafov <pgrafov@google.com>
Mon, 19 Mar 2018 16:42:11 +0000 (16:42 +0000)
committerPavel Grafov <pgrafov@google.com>
Tue, 20 Mar 2018 16:39:31 +0000 (16:39 +0000)
Otherwise dynamically added stuff like "Now Playing" is added after it
and looks like it belongs to work profile settings.

Bug:74785018
Test: manual
Change-Id: Ifc4592613e66a4e3946dedc56732eed855cc6568

res/xml/security_lockscreen_settings.xml

index 5b313b3..7cad34a 100644 (file)
         android:summary="@string/lockdown_settings_summary"
         settings:controller="com.android.settings.security.LockdownButtonPreferenceController"/>
 
+    <!-- Work profile settings are at the bottom with high order value to avoid users thinking that
+         any of the above settings (including dynamic) are specific to the work profile. -->
     <PreferenceCategory
         android:key="security_setting_lock_screen_notif_work_header"
-        android:title="@string/profile_section_header">
+        android:title="@string/profile_section_header"
+        android:order="1000">
 
         <com.android.settings.RestrictedListPreference
             android:key="security_setting_lock_screen_notif_work"