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

Unverified Commit cc1a49f2 authored by Michael W's avatar Michael W Committed by Michael Bestas
Browse files

SettingsIntelligence: Search: Skip showing a few packages

* Showing fonts, icon packs or the gestural navigation overlays don't
  bring any value (you can't do much with them in settings) but can
  lead to false conclusions (app exists -> feature must work)

Change-Id: I66c0bd2742291bace07e040c55bfb7924ee9f3a1
parent 47fa3d3d
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -100,6 +100,13 @@ public class InstalledAppResultTask extends SearchQueryTask.QueryWorker {
                continue;
            }

            // Resource overlays (e.g. icon packs) add no useful info or settings, showing
            // them clutters the results and can lead to assumptions (like gestures working
            // on a device with hw keys)
            if (info.isResourceOverlay()) {
                continue;
            }

            final Intent targetIntent = new Intent(Settings.ACTION_APPLICATION_DETAILS_SETTINGS)
                    .setAction(Settings.ACTION_APPLICATION_DETAILS_SETTINGS)
                    .setData(Uri.fromParts(INTENT_SCHEME, info.packageName, null /* fragment */))