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
diff --git a/src/com/android/settings/intelligence/search/query/InstalledAppResultTask.java b/src/com/android/settings/intelligence/search/query/InstalledAppResultTask.java
index 6d9060e..d8c2d23 100644
--- a/src/com/android/settings/intelligence/search/query/InstalledAppResultTask.java
+++ b/src/com/android/settings/intelligence/search/query/InstalledAppResultTask.java
@@ -88,6 +88,13 @@
                 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 */))