Merge "Revert change to defer resetting systemui flags" into sc-dev am: ec84515c4c

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14671337

Change-Id: Ie9069f9f249d6670ade92f4bd83b4baf2b0d18b4
This commit is contained in:
Winson Chung
2021-05-21 07:21:59 +00:00
committed by Automerger Merge Worker

View File

@@ -514,6 +514,7 @@ public class RecentsAnimationController implements DeathRecipient {
void removeAnimation(TaskAnimationAdapter taskAdapter) {
ProtoLog.d(WM_DEBUG_RECENTS_ANIMATIONS,
"removeAnimation(%d)", taskAdapter.mTask.mTaskId);
taskAdapter.mTask.setCanAffectSystemUiFlags(true);
taskAdapter.mCapturedFinishCallback.onAnimationFinished(taskAdapter.mLastAnimationType,
taskAdapter);
mPendingAnimations.remove(taskAdapter);