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

Commit 6fdeb081 authored by David Magno's avatar David Magno Committed by Cherrypicker Worker
Browse files

Multiple users yields a search result despite being disabled

'Multiple users' still yields a search result, even if the multiple
users functionality is unavailable on the device.

Bug: 298548379
Test: Manual
(cherry picked from https://partner-android-review.googlesource.com/q/commit:e7afc620ef3d9d7b05835c9bf31394cecf3b77b5)
Merged-In: I224668afacc115326ca9279d7b99bfe7d95ee79c
Change-Id: I224668afacc115326ca9279d7b99bfe7d95ee79c
parent ee85a6e0
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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;
                }
            };