Merge "Adds system service dump for the fullscreen magnification region" into rvc-dev
This commit is contained in:
@@ -6049,11 +6049,21 @@ public class WindowManagerService extends IWindowManager.Stub
|
|||||||
pw.print(" mHasPermanentDpad="); pw.println(mHasPermanentDpad);
|
pw.print(" mHasPermanentDpad="); pw.println(mHasPermanentDpad);
|
||||||
mRoot.dumpTopFocusedDisplayId(pw);
|
mRoot.dumpTopFocusedDisplayId(pw);
|
||||||
mRoot.forAllDisplays(dc -> {
|
mRoot.forAllDisplays(dc -> {
|
||||||
|
final int displayId = dc.getDisplayId();
|
||||||
final WindowState inputMethodTarget = dc.mInputMethodTarget;
|
final WindowState inputMethodTarget = dc.mInputMethodTarget;
|
||||||
if (inputMethodTarget != null) {
|
if (inputMethodTarget != null) {
|
||||||
pw.print(" mInputMethodTarget in display# "); pw.print(dc.getDisplayId());
|
pw.print(" mInputMethodTarget in display# "); pw.print(displayId);
|
||||||
pw.print(' '); pw.println(inputMethodTarget);
|
pw.print(' '); pw.println(inputMethodTarget);
|
||||||
}
|
}
|
||||||
|
if (mAccessibilityController != null) {
|
||||||
|
final Region magnificationRegion = new Region();
|
||||||
|
mAccessibilityController.getMagnificationRegionLocked(displayId,
|
||||||
|
magnificationRegion);
|
||||||
|
pw.print(" mMagnificationRegion in display# ");
|
||||||
|
pw.print(displayId);
|
||||||
|
pw.print(' ');
|
||||||
|
pw.println(magnificationRegion);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
pw.print(" mInTouchMode="); pw.println(mInTouchMode);
|
pw.print(" mInTouchMode="); pw.println(mInTouchMode);
|
||||||
pw.print(" mLastDisplayFreezeDuration=");
|
pw.print(" mLastDisplayFreezeDuration=");
|
||||||
|
|||||||
Reference in New Issue
Block a user