From f95b9b2623271d161aa793cc9570939272ed899c Mon Sep 17 00:00:00 2001 From: Chun-Ku Lin Date: Sat, 25 Jan 2025 01:33:00 +0000 Subject: [PATCH] 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 --- .../android/settings/accessibility/ColorAndMotionFragment.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/com/android/settings/accessibility/ColorAndMotionFragment.java b/src/com/android/settings/accessibility/ColorAndMotionFragment.java index d487d755201..d5686b8a888 100644 --- a/src/com/android/settings/accessibility/ColorAndMotionFragment.java +++ b/src/com/android/settings/accessibility/ColorAndMotionFragment.java @@ -68,9 +68,6 @@ public class ColorAndMotionFragment extends DashboardFragment { mShortcutFeatureKeys.add(Settings.Secure.ACCESSIBILITY_DISPLAY_INVERSION_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.registerKeysToObserverCallback(mShortcutFeatureKeys,