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:
@@ -61,11 +61,6 @@ public class StayAwakePreferenceController extends DeveloperOptionsPreferenceCon
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isAvailable() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getPreferenceKey() {
|
||||
return PREFERENCE_KEY;
|
||||
|
Reference in New Issue
Block a user