Small changes to dumpsys of WindowManager
- Print out the resize mode string and put it on separate line - Add configChanges to dumpsys of activity starter Bug: 155111946 Test: adb shell dumpsys wm starter Change-Id: I12b7e198c049700cf57fa7853c4e034ad4826573
This commit is contained in:
@@ -925,8 +925,9 @@ final class ActivityRecord extends WindowToken implements WindowManagerService.A
|
||||
if (mVoiceInteraction) {
|
||||
pw.println(prefix + "mVoiceInteraction=true");
|
||||
}
|
||||
pw.print(prefix); pw.print("mOccludesParent="); pw.print(mOccludesParent);
|
||||
pw.print(" mOrientation="); pw.println(mOrientation);
|
||||
pw.print(prefix); pw.print("mOccludesParent="); pw.println(mOccludesParent);
|
||||
pw.print(prefix); pw.print("mOrientation=");
|
||||
pw.println(ActivityInfo.screenOrientationToString(mOrientation));
|
||||
pw.println(prefix + "mVisibleRequested=" + mVisibleRequested
|
||||
+ " mVisible=" + mVisible + " mClientVisible=" + mClientVisible
|
||||
+ ((mDeferHidingClient) ? " mDeferHidingClient=" + mDeferHidingClient : "")
|
||||
@@ -1011,6 +1012,9 @@ final class ActivityRecord extends WindowToken implements WindowManagerService.A
|
||||
if (info.supportsSizeChanges) {
|
||||
pw.println(prefix + "supportsSizeChanges=true");
|
||||
}
|
||||
if (info.configChanges != 0) {
|
||||
pw.println(prefix + "configChanges=0x" + Integer.toHexString(info.configChanges));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user