Pull out a PreferenceController of lock screen from accessibility

To reduce the complexity of AccessibilitySettings, we are planning to
create a bunch of preference controllers. First of all, we are converting
lock screen preference to a preference controller. The rest part will be
uploaded soon.

Bug: 135056871
Test: robotest, manual
Change-Id: I6079136f3d08934c9a5363eb4d0e0ade29f8ba99
This commit is contained in:
Mill Chen
2019-06-10 21:26:22 +08:00
parent ad363b091f
commit dce601db84
5 changed files with 213 additions and 41 deletions

View File

@@ -97,7 +97,8 @@
<SwitchPreference
android:key="toggle_lock_screen_rotation_preference"
android:title="@string/accelerometer_title"
android:persistent="false"/>
android:persistent="false"
settings:controller="com.android.settings.accessibility.LockScreenRotationPreferenceController"/>
<ListPreference
android:key="select_long_press_timeout_preference"