Loading services/accessibility/java/com/android/server/accessibility/AccessibilityManagerService.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -2742,7 +2742,7 @@ public class AccessibilityManagerService extends IAccessibilityManager.Stub { // share the accessibility state of the parent. The call below // share the accessibility state of the parent. The call below // performs the current profile parent resolution. // performs the current profile parent resolution. final int resolvedUserId = mSecurityPolicy final int resolvedUserId = mSecurityPolicy .resolveCallingUserIdEnforcingPermissionsLocked(UserHandle.getCallingUserId()); .resolveCallingUserIdEnforcingPermissionsLocked(UserHandle.USER_CURRENT); return resolvedUserId == mCurrentUserId; return resolvedUserId == mCurrentUserId; } } Loading Loading
services/accessibility/java/com/android/server/accessibility/AccessibilityManagerService.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -2742,7 +2742,7 @@ public class AccessibilityManagerService extends IAccessibilityManager.Stub { // share the accessibility state of the parent. The call below // share the accessibility state of the parent. The call below // performs the current profile parent resolution. // performs the current profile parent resolution. final int resolvedUserId = mSecurityPolicy final int resolvedUserId = mSecurityPolicy .resolveCallingUserIdEnforcingPermissionsLocked(UserHandle.getCallingUserId()); .resolveCallingUserIdEnforcingPermissionsLocked(UserHandle.USER_CURRENT); return resolvedUserId == mCurrentUserId; return resolvedUserId == mCurrentUserId; } } Loading