Separate power button preference controller from accessibility

Bug: 135056871
Test: manual, robotest
Change-Id: Ia3c2134bd9f88a39a796e4201f7bdf8c3015baa1
This commit is contained in:
Mill Chen
2019-06-25 23:03:39 +08:00
parent 10fc07e72e
commit c786ae184b
6 changed files with 239 additions and 38 deletions

View File

@@ -98,7 +98,9 @@
<SwitchPreference
android:key="toggle_power_button_ends_call_preference"
android:title="@string/accessibility_power_button_ends_call_prerefence_title"
android:persistent="false"/>
android:persistent="false"
settings:controller="com.android.settings.accessibility.PowerButtonEndsCallPreferenceController"/>
<SwitchPreference
android:key="toggle_lock_screen_rotation_preference"