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:
jeffreyhuang
2017-09-28 16:00:59 -07:00
parent ae6c29d10f
commit f74a2575a9
18 changed files with 10 additions and 85 deletions

View File

@@ -40,11 +40,6 @@ public class WifiDisplayCertificationPreferenceController extends
super(context);
}
@Override
public boolean isAvailable() {
return true;
}
@Override
public String getPreferenceKey() {
return WIFI_DISPLAY_CERTIFICATION_KEY;