commit | 8a9e7a1dfdc2f601a4dedf363867ca8aa71f6ad4 | [log] [tgz] |
---|---|---|
author | Jagrut Desai <jagrutdesai@google.com> | Fri Nov 15 00:05:08 2024 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Fri Nov 15 00:05:08 2024 +0000 |
tree | 6995633c9ef5165d89679b2906c0887b7dd4f63c | |
parent | 7bf867567912660fe66068831f58459a8bff3d2d [diff] | |
parent | 48793e1fcdbf86e0c4e7367df4454e54a849a0eb [diff] |
Merge "Fix 3-button Navigation Switch Access Long press" into main
diff --git a/quickstep/src/com/android/launcher3/taskbar/TaskbarNavButtonController.java b/quickstep/src/com/android/launcher3/taskbar/TaskbarNavButtonController.java index 0f9ede9..d4764c7 100644 --- a/quickstep/src/com/android/launcher3/taskbar/TaskbarNavButtonController.java +++ b/quickstep/src/com/android/launcher3/taskbar/TaskbarNavButtonController.java
@@ -281,6 +281,10 @@ } private void resetScreenUnpin() { + // if only back button was long pressed, navigate back like a single click back behavior. + if (mLongPressedButtons == BUTTON_BACK) { + executeBack(null); + } mLongPressedButtons = 0; mLastScreenPinLongPress = 0; }