Include disabled managed profiles in Accounts page
At the moment we include disabled profiles when deciding whether the Work section needs to be added, and then only include enabled ones when searching for the managed profile's user handle Change-Id: I96b0c36aad6b9326abc2992fa3309716f5cd1e74 Fix: 62021410 Test: m RunSettingsRoboTests
This commit is contained in:
@@ -27,7 +27,7 @@ public class AutoSyncWorkDataPreferenceController extends AutoSyncPersonalDataPr
|
||||
|
||||
public AutoSyncWorkDataPreferenceController(Context context, Fragment parent) {
|
||||
super(context, parent);
|
||||
mUserHandle = Utils.getManagedProfile(mUserManager);
|
||||
mUserHandle = Utils.getManagedProfileWithDisabled(mUserManager);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user