Skip to content

Commit 4796dfd

Browse files
Craig MautnerAndroid (Google) Code Review
authored andcommitted
Merge "Improve debug output." into jb-mr1-dev
2 parents cdfc56a + dc5a638 commit 4796dfd

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

services/java/com/android/server/wm/WindowManagerService.java

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3442,25 +3442,27 @@ private boolean applyAnimationLocked(AppWindowToken atoken,
34423442
if (DEBUG_APP_TRANSITIONS || DEBUG_ANIM) Slog.v(TAG,
34433443
"applyAnimation: atoken=" + atoken
34443444
+ " anim=" + a + " nextAppTransition=ANIM_CUSTOM"
3445-
+ " transit=" + transit + " Callers " + Debug.getCallers(3));
3445+
+ " transit=" + transit + " isEntrance=" + enter
3446+
+ " Callers " + Debug.getCallers(3));
34463447
} else if (mNextAppTransitionType == ActivityOptions.ANIM_SCALE_UP) {
34473448
a = createScaleUpAnimationLocked(transit, enter);
34483449
initialized = true;
34493450
if (DEBUG_APP_TRANSITIONS || DEBUG_ANIM) Slog.v(TAG,
34503451
"applyAnimation: atoken=" + atoken
34513452
+ " anim=" + a + " nextAppTransition=ANIM_SCALE_UP"
3452-
+ " transit=" + transit + " Callers " + Debug.getCallers(3));
3453+
+ " transit=" + transit + " isEntrance=" + enter
3454+
+ " Callers " + Debug.getCallers(3));
34533455
} else if (mNextAppTransitionType == ActivityOptions.ANIM_THUMBNAIL_SCALE_UP ||
34543456
mNextAppTransitionType == ActivityOptions.ANIM_THUMBNAIL_SCALE_DOWN) {
34553457
boolean scaleUp = (mNextAppTransitionType == ActivityOptions.ANIM_THUMBNAIL_SCALE_UP);
34563458
a = createThumbnailAnimationLocked(transit, enter, false, scaleUp);
34573459
initialized = true;
3458-
34593460
if (DEBUG_APP_TRANSITIONS || DEBUG_ANIM) {
34603461
String animName = scaleUp ? "ANIM_THUMBNAIL_SCALE_UP" : "ANIM_THUMBNAIL_SCALE_DOWN";
34613462
Slog.v(TAG, "applyAnimation: atoken=" + atoken
34623463
+ " anim=" + a + " nextAppTransition=" + animName
3463-
+ " transit=" + transit + " Callers " + Debug.getCallers(3));
3464+
+ " transit=" + transit + " isEntrance=" + enter
3465+
+ " Callers " + Debug.getCallers(3));
34643466
}
34653467
} else {
34663468
int animAttr = 0;
@@ -3521,7 +3523,8 @@ private boolean applyAnimationLocked(AppWindowToken atoken,
35213523
"applyAnimation: atoken=" + atoken
35223524
+ " anim=" + a
35233525
+ " animAttr=0x" + Integer.toHexString(animAttr)
3524-
+ " transit=" + transit + " Callers " + Debug.getCallers(3));
3526+
+ " transit=" + transit + " isEntrance=" + enter
3527+
+ " Callers " + Debug.getCallers(3));
35253528
}
35263529
if (a != null) {
35273530
if (DEBUG_ANIM) {

0 commit comments

Comments
 (0)