ToggleShortcutPreferenceController
Changes:
- Remove ShortcutFragment and RestrictedShortcutFragment
- Move shortcut related dialog logic into
ToggleShortcutPreferenceController
Why change:
- We're now able to retrive fragment manager from the
PreferenceLifecycleContext to show dialogs
- Moving the dialog logic into the PreferenceController can reduce the
layer hierarchy when inherent parent class
NO_IFTTT=only add annotation in AccessibilitySettings, no need to update
the AccessibilityScreen
Bug: 406052931
Test: manual toggle shortcuts on accessibility detail pages
Test: atest SettingsRoboTests
Flag: EXEMPT refactor - Risk taken while we're early in quarterly release.
Change-Id: I82e11e2155827ad355051ea0c8bb45c419d09a4b