Add Auto sync account data to account dashboard.
Add auto sync to User & accounts dashboard, and update UserSettings to use the emergency info and add user when locked controllers. Test: RunSettingsRoboTests Bug: 31801423 Change-Id: Ibf5a886276a9aa8f53c548036aecfd6c4d759ae3
This commit is contained in:
@@ -58,6 +58,9 @@ public class UserAndAccountDashboardFragment extends DashboardFragment {
|
||||
new AddUserWhenLockedPreferenceController(context);
|
||||
controllers.add(addUserWhenLockedPrefController);
|
||||
getLifecycle().addObserver(addUserWhenLockedPrefController);
|
||||
controllers.add(new AutoSyncDataPreferenceController(context, this));
|
||||
controllers.add(new AutoSyncPersonalDataPreferenceController(context, this));
|
||||
controllers.add(new AutoSyncWorkDataPreferenceController(context, this));
|
||||
return controllers;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user