Searched refs:otherUser (Results 1 – 1 of 1) sorted by relevance
743 private static boolean isProfileOf(UserManager um, UserHandle otherUser) { in isProfileOf() argument744 if (um == null || otherUser == null) return false; in isProfileOf()745 return (UserHandle.myUserId() == otherUser.getIdentifier()) in isProfileOf()746 || um.getUserProfiles().contains(otherUser); in isProfileOf()