Loading services/core/java/com/android/server/wm/WindowManagerService.java +8 −3 Original line number Diff line number Diff line Loading @@ -4730,10 +4730,15 @@ public class WindowManagerService extends IWindowManager.Stub "API setRotationAtAngleIfLocked should not be used when " + "enableDeviceStateAutoRotateSettingRefactor is disabled"); } final long origId = Binder.clearCallingIdentity(); try { synchronized (mGlobalLock) { final DisplayContent display = mRoot.getDefaultDisplay(); display.getDisplayRotation().setRotationAtAngleIfLocked(rotation, caller); } } finally { Binder.restoreCallingIdentity(origId); } } @Override Loading Loading
services/core/java/com/android/server/wm/WindowManagerService.java +8 −3 Original line number Diff line number Diff line Loading @@ -4730,10 +4730,15 @@ public class WindowManagerService extends IWindowManager.Stub "API setRotationAtAngleIfLocked should not be used when " + "enableDeviceStateAutoRotateSettingRefactor is disabled"); } final long origId = Binder.clearCallingIdentity(); try { synchronized (mGlobalLock) { final DisplayContent display = mRoot.getDefaultDisplay(); display.getDisplayRotation().setRotationAtAngleIfLocked(rotation, caller); } } finally { Binder.restoreCallingIdentity(origId); } } @Override Loading