Merge "Multiple users yields a search result despite being disabled" into main

This commit is contained in:
Chris Antol
2024-02-05 20:36:03 +00:00
committed by Android (Google) Code Review

View File

@@ -1771,6 +1771,9 @@ public class UserSettings extends SettingsPreferenceFragment
.updateNonIndexableKeys(niks);
new AutoSyncWorkDataPreferenceController(context, null /* parent */)
.updateNonIndexableKeys(niks);
if (suppressAllPage) {
niks.add(KEY_ALLOW_MULTIPLE_USERS);
}
return niks;
}
};