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

Commit 5a9826b8 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Settings: remove multiple users search when multi-user not supported" into main

parents 8136e6d3 f3366575
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1719,6 +1719,9 @@ public class UserSettings extends SettingsPreferenceFragment
                public List<SearchIndexableRaw> getRawDataToIndex(Context context,
                        boolean enabled) {
                    final List<SearchIndexableRaw> rawData = new ArrayList<>();
                    if (!UserManager.supportsMultipleUsers()) {
                        return rawData;
                    }

                    SearchIndexableRaw allowMultipleUsersResult = new SearchIndexableRaw(context);