Revert change to defer resetting systemui flags

- This is a revert of this line: https://googleplex-android-review.git.corp.google.com/c/platform/frameworks/base/+/14105379/9/services/core/java/com/android/server/wm/RecentsAnimationController.java#b521

Bug: 188389184
Test: Verified using repro steps from the bug

Change-Id: Iac6d839ef33e1f07c56a4e65266a6bbe48993aab
This commit is contained in:
Winson Chung
2021-05-20 18:34:27 -07:00
parent 5eef411480
commit 487136b859

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);