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

Commit da232f4c authored by Michael W's avatar Michael W
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 b3da2c57
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -85,6 +85,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 intent = new Intent(Settings.ACTION_APPLICATION_DETAILS_SETTINGS)
                    .setAction(Settings.ACTION_APPLICATION_DETAILS_SETTINGS)
                    .setData(