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

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

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

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