We no longer need to monitor the shortcut changes on this screen

**Why remove the monitor?**
We started monitor the shortcut changes on this screen because we would
show the status of the shortcut as part of the summary of the
preference. However, the summary is too wordy, and we decided just show
the On/Off state of color correction/inversion. With that change, we
forgot to clean up unnecessaroy monitor on the shortcut status on this
screen.

Bug: 392190782
Test: manual
Flag: EXEMPT low risk clean up task
Change-Id: Iec6aca509c96237c4abb5c394ac5e7ffd78362eb
This commit is contained in:
Chun-Ku Lin
2025-01-25 01:33:00 +00:00
parent 7e6cc163d9
commit f95b9b2623

View File

@@ -68,9 +68,6 @@ public class ColorAndMotionFragment extends DashboardFragment {
mShortcutFeatureKeys.add(Settings.Secure.ACCESSIBILITY_DISPLAY_INVERSION_ENABLED); mShortcutFeatureKeys.add(Settings.Secure.ACCESSIBILITY_DISPLAY_INVERSION_ENABLED);
mShortcutFeatureKeys.add(Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER_ENABLED); mShortcutFeatureKeys.add(Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER_ENABLED);
mShortcutFeatureKeys.add(Settings.Secure.ACCESSIBILITY_SHORTCUT_TARGET_SERVICE);
mShortcutFeatureKeys.add(Settings.Secure.ACCESSIBILITY_BUTTON_TARGETS);
mShortcutFeatureKeys.add(Settings.Secure.ACCESSIBILITY_QS_TARGETS);
mSettingsContentObserver = new AccessibilitySettingsContentObserver(new Handler()); mSettingsContentObserver = new AccessibilitySettingsContentObserver(new Handler());
mSettingsContentObserver.registerKeysToObserverCallback(mShortcutFeatureKeys, mSettingsContentObserver.registerKeysToObserverCallback(mShortcutFeatureKeys,