Only show flags UI if developer options is enabled
Change-Id: I69005e623dab9f1f2f0682b61311836b62337835
This commit is contained in:
1 parent
2f7110d614
commit
904dbcdf9d
2 files changed
+8
-5
No files matched your search
@@ -203,7 +203,7 @@ public class SettingsActivity extends Activity
|
||||
|
||||
case FLAGS_PREFERENCE_KEY:
|
||||
// Only show flag toggler UI if this build variant implements that.
|
||||
return FeatureFlags.showFlagTogglerUi();
|
||||
return FeatureFlags.showFlagTogglerUi(getContext());
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
Reference in new issue
Block a user