Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e961c206 authored by Yi Jiang's avatar Yi Jiang Committed by Android (Google) Code Review
Browse files

Merge "Call remote RotationResolverService from current user" into main

parents 97fd036e f8305aaf
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -191,8 +191,7 @@ public class RotationResolverManagerService extends
                        SensorPrivacyManager.Sensors.CAMERA);
                if (mIsServiceEnabled && isCameraAvailable) {
                    final RotationResolverManagerPerUserService service =
                            getServiceForUserLocked(
                                    UserHandle.getCallingUserId());
                            getServiceForUserLocked(UserHandle.USER_CURRENT);
                    final RotationResolutionRequest request;
                    if (packageName == null) {
                        request = new RotationResolutionRequest(/* packageName */ "",