Merge "Remove Special App Access duplicate from Setting search" into oc-dev
am: d6aa9f3454
Change-Id: I0ae7c3ec171d1954a362c908ea73a8a5741f2554
This commit is contained in:
@@ -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;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user