OSDN Git Service

Hide Display Theme from search results when not available
authorMatthew Fritze <mfritze@google.com>
Wed, 7 Jun 2017 15:59:30 +0000 (08:59 -0700)
committerMatthew Fritze <mfritze@google.com>
Wed, 7 Jun 2017 16:21:44 +0000 (16:21 +0000)
Test: make RunSettingsRoboTests
Fixes: 62377986
Change-Id: I5d0737034ef3f845e790934465b65a5415654822

src/com/android/settings/DisplaySettings.java

index b70a133..1ef3b53 100644 (file)
@@ -129,7 +129,7 @@ public class DisplaySettings extends DashboardFragment {
 
                 @Override
                 public List<String> getNonIndexableKeys(Context context) {
-                    List<String> keys = new ArrayList<>();
+                    List<String> keys = super.getNonIndexableKeys(context);
                     keys.add(KEY_DISPLAY_SIZE);
                     return keys;
                 }