Remove Special App Access duplicate from Setting search
Bug: 33701673 Test: make RunSettingsRoboTests Change-Id: I7f6a466c0551828c319c2da541fbeb0e428c62f8
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