summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Manish Singh <psych@google.com> 2024-02-28 13:03:30 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2024-02-28 13:03:30 +0000
commitcda288971b6728f289934b9a6e255a5732bef721 (patch)
tree80837b723d17ff05074203f1afc1878916c757bf
parenta828ac0eb7f39eca74910045d121a4c0b6ea2bb9 (diff)
parent8b4d5ca0d3463708282355d285a179ec963b20a4 (diff)
Merge "Return the private profile user when enabled" into main
-rw-r--r--service/java/com/android/safetycenter/UserProfileGroup.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/java/com/android/safetycenter/UserProfileGroup.java b/service/java/com/android/safetycenter/UserProfileGroup.java
index 2f4ab17e4..46a440bf7 100644
--- a/service/java/com/android/safetycenter/UserProfileGroup.java
+++ b/service/java/com/android/safetycenter/UserProfileGroup.java
@@ -324,7 +324,7 @@ public final class UserProfileGroup {
case PROFILE_TYPE_PRIVATE:
//TODO(b/286539356) add the new feature flag protection when available.
return mPrivateProfileRunning
- ? new int[] {} : new int[] {mPrivateProfileUserId};
+ ? new int[] {mPrivateProfileUserId} : new int[] {};
default:
Log.w(TAG, "Unexpected profile type " + profileType);
return new int[] {};