Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cf892e1d authored by Chun-Ku Lin's avatar Chun-Ku Lin
Browse files

Revive the qs shortcut setting's restoration that was accidentally

removed by merging from 24D1 to main

This cause the existing test to fail

Bug: 338696667
Test: atest FrameworksServicesTests
Flag: EXEMPT put back the code that was accidentally removed by auto
merger

Change-Id: I290ec46d0d994544bae21f5fb5e8ad2c28c353a2
parent d34801c1
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1024,6 +1024,12 @@ public class AccessibilityManagerService extends IAccessibilityManager.Stub
                                    intent.getStringExtra(Intent.EXTRA_SETTING_PREVIOUS_VALUE),
                                    intent.getStringExtra(Intent.EXTRA_SETTING_NEW_VALUE));
                        }
                    } else if (Settings.Secure.ACCESSIBILITY_QS_TARGETS.equals(which)) {
                        if (!android.view.accessibility.Flags.a11yQsShortcut()) {
                            return;
                        }
                        restoreAccessibilityQsTargets(
                                intent.getStringExtra(Intent.EXTRA_SETTING_NEW_VALUE));
                    }
                }
            }