Merge "Update running remote animation state after activity change" into tm-dev
This commit is contained in:
@@ -304,10 +304,6 @@ class RecentsAnimation implements RecentsAnimationCallbacks, OnRootTaskOrderChan
|
||||
mService.stopAppSwitches();
|
||||
}
|
||||
|
||||
if (mCaller != null) {
|
||||
mCaller.setRunningRecentsAnimation(false);
|
||||
}
|
||||
|
||||
mWindowManager.inSurfaceTransaction(() -> {
|
||||
Trace.traceBegin(TRACE_TAG_WINDOW_MANAGER,
|
||||
"RecentsAnimation#onAnimationFinished_inSurfaceTransaction");
|
||||
@@ -413,6 +409,9 @@ class RecentsAnimation implements RecentsAnimationCallbacks, OnRootTaskOrderChan
|
||||
if (mWindowManager.mRoot.isLayoutNeeded()) {
|
||||
mWindowManager.mRoot.performSurfacePlacement();
|
||||
}
|
||||
if (mCaller != null) {
|
||||
mCaller.setRunningRecentsAnimation(false);
|
||||
}
|
||||
Trace.traceEnd(TRACE_TAG_WINDOW_MANAGER);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user