Reset stashed in Taskbar All Apps for gestures instead of IME insets.

Test: Manual
Flag: NONE
Fix: 328960039
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:1956246b6e7098aeaeece3760b1ea97d096d3588)
Merged-In: I62c53c21bf850b7080e12086235cba28164f4d70
Change-Id: I62c53c21bf850b7080e12086235cba28164f4d70
This commit is contained in:
Brian Isganitis authored and Android Build Coastguard Worker committed 2024-03-19 21:03:07 +00:00
1 parent 8ed0e8be9c
commit fbda2e6ccb
1 file changed
+1 -1
@@ -900,12 +900,12 @@ public class TaskbarStashController implements TaskbarControllers.LoggableTaskba
}
// Only update the following flags when system gesture is not in progress.
updateStateForFlag(FLAG_STASHED_IN_TASKBAR_ALL_APPS, false);
setStashedImeState();
}
private void setStashedImeState() {
boolean shouldStashForIme = shouldStashForIme();
updateStateForFlag(FLAG_STASHED_IN_TASKBAR_ALL_APPS, false);
if (hasAnyFlag(FLAG_STASHED_IN_APP_IME) != shouldStashForIme) {
updateStateForFlag(FLAG_STASHED_IN_APP_IME, shouldStashForIme);
applyState(TASKBAR_STASH_DURATION_FOR_IME, getTaskbarStashStartDelayForIme());