Resume UI update on user active
resume UI update for hybrid hotseat if user returns to launcher while app launch transition is animating. Bug: 142753423 Test: Manual Change-Id: I11ffa080bb78e7b4269747b1602b32d706f2405d
This commit is contained in:
parent
254862120a
commit
28f3136c6a
|
@ -183,8 +183,8 @@ public class QuickstepLauncher extends BaseQuickstepLauncher {
|
|||
onStateOrResumeChanged();
|
||||
}
|
||||
|
||||
if ((changeBits & ACTIVITY_STATE_STARTED) != 0 && mHotseatPredictionController != null
|
||||
&& (getActivityFlags() & ACTIVITY_STATE_USER_ACTIVE) == 0) {
|
||||
if (mHotseatPredictionController != null && ((changeBits & ACTIVITY_STATE_STARTED) != 0
|
||||
|| (changeBits & getActivityFlags() & ACTIVITY_STATE_DEFERRED_RESUMED) != 0)) {
|
||||
mHotseatPredictionController.setPauseUIUpdate(false);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue