Merge "Fix stuck activity" into oc-mr1-dev
This commit is contained in:
@@ -450,7 +450,7 @@ public class AppWindowAnimator {
|
||||
return isAnimating;
|
||||
}
|
||||
|
||||
void dump(PrintWriter pw, String prefix, boolean dumpAll) {
|
||||
void dump(PrintWriter pw, String prefix) {
|
||||
pw.print(prefix); pw.print("mAppToken="); pw.println(mAppToken);
|
||||
pw.print(prefix); pw.print("mAnimator="); pw.println(mAnimator);
|
||||
pw.print(prefix); pw.print("freezingScreen="); pw.print(freezingScreen);
|
||||
|
||||
@@ -368,10 +368,10 @@ class AppWindowToken extends WindowToken implements WindowManagerService.AppFree
|
||||
|
||||
boolean runningAppAnimation = false;
|
||||
|
||||
if (mAppAnimator.animation == AppWindowAnimator.sDummyAnimation) {
|
||||
mAppAnimator.setNullAnimation();
|
||||
}
|
||||
if (transit != AppTransition.TRANSIT_UNSET) {
|
||||
if (mAppAnimator.animation == AppWindowAnimator.sDummyAnimation) {
|
||||
mAppAnimator.setNullAnimation();
|
||||
}
|
||||
if (mService.applyAnimationLocked(this, lp, transit, visible, isVoiceInteraction)) {
|
||||
delayed = runningAppAnimation = true;
|
||||
}
|
||||
@@ -1759,6 +1759,9 @@ class AppWindowToken extends WindowToken implements WindowManagerService.AppFree
|
||||
if (mRemovingFromDisplay) {
|
||||
pw.println(prefix + "mRemovingFromDisplay=" + mRemovingFromDisplay);
|
||||
}
|
||||
if (mAppAnimator.isAnimating()) {
|
||||
mAppAnimator.dump(pw, prefix + " ");
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user