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

Commit 92d6aea8 authored by Alexandra Gherghina's avatar Alexandra Gherghina
Browse files

Temporarily switch off returning only enabled profiles to support dogfooding

Bug: 14132551
Change-Id: I3679c8fc248a799c816e5b80641b1fca6b7af061
parent a77f358e
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;