Merge "Fix 3-button Navigation Switch Access Long press" into main

This commit is contained in:
Jagrut Desai
2024-11-15 00:05:08 +00:00
committed by Android (Google) Code Review
@@ -281,6 +281,10 @@ public class TaskbarNavButtonController implements TaskbarControllers.LoggableTa
}
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;
}