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

Commit d8e6a5f1 authored by Alexandra Gherghina's avatar Alexandra Gherghina Committed by Android (Google) Code Review
Browse files

Merge "Temporarily switch off returning only enabled profiles to support dogfooding"

parents 522ff52f 92d6aea8
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -492,7 +492,8 @@ public class UserManager {
        ArrayList<UserHandle> profiles = new ArrayList<UserHandle>();
        List<UserInfo> users = new ArrayList<UserInfo>();
        try {
            users = mService.getProfiles(UserHandle.myUserId(), true /* enabledOnly */);
            // TODO: Switch enabledOnly to true once client apps are updated
            users = mService.getProfiles(UserHandle.myUserId(), false /* enabledOnly */);
        } catch (RemoteException re) {
            Log.w(TAG, "Could not get user list", re);
            return null;