isAvailable is true by default in dev options
- isAvailable() is defaulted to return true for all developer options preferences - child controllers should override for custom hiding logic Bug: 34203528 Test: make RunSettingsRoboTests -j40 Change-Id: I89921f801c25e74bf78d02c55b5f34cf1d464cd0
This commit is contained in:
@@ -50,11 +50,6 @@ public class ShowSurfaceUpdatesPreferenceController extends DeveloperOptionsPref
|
||||
mSurfaceFlinger = ServiceManager.getService(SURFACE_FLINGER_SERVICE_KEY);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isAvailable() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getPreferenceKey() {
|
||||
return SHOW_SCREEN_UPDATES_KEY;
|
||||
|
Reference in New Issue
Block a user