Merge "Use hasBeenResumed() for checking if launcher is resumed" into udc-qpr-dev

This commit is contained in:
Ats Jenk
2023-07-26 18:18:11 +00:00
committed by Android (Google) Code Review
@@ -204,7 +204,7 @@ public class TaskbarLauncherStateController {
updateStateForFlag(FLAG_LAUNCHER_IN_STATE_TRANSITION, false);
// TODO(b/279514548) Cleans up bad state that can occur when user interacts with
// taskbar on top of transparent activity.
if (finalState == LauncherState.NORMAL && mLauncher.isResumed()) {
if (finalState == LauncherState.NORMAL && mLauncher.hasBeenResumed()) {
updateStateForFlag(FLAG_RESUMED, true);
}
applyState();