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

Commit 8218dda7 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Remove gesture shortcut restoration/merge logic from AMS" into main

parents 27eb188f 8fa8705e
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -1070,8 +1070,11 @@ public class AccessibilityManagerService extends IAccessibilityManager.Stub
                                        newValue, restoredFromSdk);
                            }
                        }
                        // Currently in SUW, the user can't see gesture shortcut option as the
                        // navigation system is set to button navigation. We'll rely on the
                        // SettingsBackupAgent to restore the settings since we don't
                        // need to merge an empty gesture target.
                        case Settings.Secure.ACCESSIBILITY_BUTTON_TARGETS,
                             Settings.Secure.ACCESSIBILITY_GESTURE_TARGETS,
                             Settings.Secure.ACCESSIBILITY_QS_TARGETS,
                             Settings.Secure.ACCESSIBILITY_SHORTCUT_TARGET_SERVICE ->
                                restoreShortcutTargets(newValue,