Merge "Remove Special App Access duplicate from Setting search" into oc-dev

This commit is contained in:
TreeHugger Robot
2017-05-16 22:37:21 +00:00
committed by Android (Google) Code Review
2 changed files with 64 additions and 0 deletions

View File

@@ -82,5 +82,13 @@ public class AppAndNotificationDashboardFragment extends DashboardFragment {
public List<PreferenceController> getPreferenceControllers(Context context) {
return buildPreferenceControllers(context);
}
@Override
public List<String> getNonIndexableKeys(Context context) {
List<String> keys = super.getNonIndexableKeys(context);
keys.add((new SpecialAppAccessPreferenceController(context))
.getPreferenceKey());
return keys;
}
};
}