Merge "Reset stashed in Taskbar All Apps for gestures instead of IME insets." into 24D1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
0bcdcb45ba
@@ -900,12 +900,12 @@ public class TaskbarStashController implements TaskbarControllers.LoggableTaskba
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Only update the following flags when system gesture is not in progress.
|
// Only update the following flags when system gesture is not in progress.
|
||||||
|
updateStateForFlag(FLAG_STASHED_IN_TASKBAR_ALL_APPS, false);
|
||||||
setStashedImeState();
|
setStashedImeState();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void setStashedImeState() {
|
private void setStashedImeState() {
|
||||||
boolean shouldStashForIme = shouldStashForIme();
|
boolean shouldStashForIme = shouldStashForIme();
|
||||||
updateStateForFlag(FLAG_STASHED_IN_TASKBAR_ALL_APPS, false);
|
|
||||||
if (hasAnyFlag(FLAG_STASHED_IN_APP_IME) != shouldStashForIme) {
|
if (hasAnyFlag(FLAG_STASHED_IN_APP_IME) != shouldStashForIme) {
|
||||||
updateStateForFlag(FLAG_STASHED_IN_APP_IME, shouldStashForIme);
|
updateStateForFlag(FLAG_STASHED_IN_APP_IME, shouldStashForIme);
|
||||||
applyState(TASKBAR_STASH_DURATION_FOR_IME, getTaskbarStashStartDelayForIme());
|
applyState(TASKBAR_STASH_DURATION_FOR_IME, getTaskbarStashStartDelayForIme());
|
||||||
|
|||||||
Reference in New Issue
Block a user