Loading services/core/java/com/android/server/camera/CameraServiceProxy.java +6 −4 Original line number Diff line number Diff line Loading @@ -1025,11 +1025,13 @@ public class CameraServiceProxy extends SystemService handles.add(id); } if (Flags.cameraHsumPermission()) { // If the device is running in headless system user mode then allow // User 0 to access camera. if (UserManager.isHeadlessSystemUserMode()) { handles.add(UserHandle.USER_SYSTEM); } } return handles; } Loading Loading
services/core/java/com/android/server/camera/CameraServiceProxy.java +6 −4 Original line number Diff line number Diff line Loading @@ -1025,11 +1025,13 @@ public class CameraServiceProxy extends SystemService handles.add(id); } if (Flags.cameraHsumPermission()) { // If the device is running in headless system user mode then allow // User 0 to access camera. if (UserManager.isHeadlessSystemUserMode()) { handles.add(UserHandle.USER_SYSTEM); } } return handles; } Loading