Loading services/core/java/com/android/server/wm/ScreenRotationAnimation.java +6 −1 Original line number Diff line number Diff line Loading @@ -206,12 +206,17 @@ class ScreenRotationAnimation { .setCallsite("ScreenRotationAnimation") .build(); String name = "RotationLayer"; mScreenshotLayer = displayContent.makeOverlay() .setName("RotationLayer") .setName(name) .setBufferSize(mWidth, mHeight) .setSecure(isSecure) .setCallsite("ScreenRotationAnimation") .build(); // This is the way to tell the input system to exclude this surface from occlusion // detection since we don't have a window for it. We do this because this window is // generated by the system as well as its content. InputMonitor.setTrustedOverlayInputInfo(mScreenshotLayer, t, displayId, name); mEnterBlackFrameLayer = displayContent.makeOverlay() .setName("EnterBlackFrameLayer") Loading Loading
services/core/java/com/android/server/wm/ScreenRotationAnimation.java +6 −1 Original line number Diff line number Diff line Loading @@ -206,12 +206,17 @@ class ScreenRotationAnimation { .setCallsite("ScreenRotationAnimation") .build(); String name = "RotationLayer"; mScreenshotLayer = displayContent.makeOverlay() .setName("RotationLayer") .setName(name) .setBufferSize(mWidth, mHeight) .setSecure(isSecure) .setCallsite("ScreenRotationAnimation") .build(); // This is the way to tell the input system to exclude this surface from occlusion // detection since we don't have a window for it. We do this because this window is // generated by the system as well as its content. InputMonitor.setTrustedOverlayInputInfo(mScreenshotLayer, t, displayId, name); mEnterBlackFrameLayer = displayContent.makeOverlay() .setName("EnterBlackFrameLayer") Loading