Browse Source

Merge "Tracks app window animation endpoint" into qt-dev

ten
Ian Chang 2 years ago
parent
commit
51374fc706
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      services/core/java/com/android/server/wm/AppWindowToken.java

+ 2
- 0
services/core/java/com/android/server/wm/AppWindowToken.java View File

@@ -2782,6 +2782,7 @@ class AppWindowToken extends WindowToken implements WindowManagerService.AppFree
protected void onAnimationFinished() {
super.onAnimationFinished();

Trace.traceBegin(TRACE_TAG_WINDOW_MANAGER, "AWT#onAnimationFinished");
mTransit = TRANSIT_UNSET;
mTransitFlags = 0;
mNeedsZBoost = false;
@@ -2816,6 +2817,7 @@ class AppWindowToken extends WindowToken implements WindowManagerService.AppFree
scheduleAnimation();

mActivityRecord.onAnimationFinished();
Trace.traceEnd(TRACE_TAG_WINDOW_MANAGER);
}

@Override

Loading…
Cancel
Save