Loading core/java/android/app/UiAutomationConnection.java +3 −1 Original line number Diff line number Diff line Loading @@ -220,7 +220,9 @@ public final class UiAutomationConnection extends IUiAutomationConnection.Stub { final long identity = Binder.clearCallingIdentity(); try { captureBuffer = SurfaceControl.captureLayers( new SurfaceControl.LayerCaptureArgs.Builder(surfaceControl).build()); new SurfaceControl.LayerCaptureArgs.Builder(surfaceControl) .setChildrenOnly(false) .build()); } finally { Binder.restoreCallingIdentity(identity); } Loading Loading
core/java/android/app/UiAutomationConnection.java +3 −1 Original line number Diff line number Diff line Loading @@ -220,7 +220,9 @@ public final class UiAutomationConnection extends IUiAutomationConnection.Stub { final long identity = Binder.clearCallingIdentity(); try { captureBuffer = SurfaceControl.captureLayers( new SurfaceControl.LayerCaptureArgs.Builder(surfaceControl).build()); new SurfaceControl.LayerCaptureArgs.Builder(surfaceControl) .setChildrenOnly(false) .build()); } finally { Binder.restoreCallingIdentity(identity); } Loading