Change "When in VR mode" to full screen radio button picker

Change-Id: I619af85f9c4a2c32daca786f49e898fde9b593f8
Fix: 36557316
Test: make RunSettingsRoboTests
This commit is contained in:
Fan Zhang
2017-03-23 13:13:36 -07:00
parent a278962dbc
commit a0c2c11bbf
7 changed files with 292 additions and 122 deletions

View File

@@ -141,8 +141,7 @@ public abstract class RadioButtonPickerFragment extends InstrumentedPreferenceFr
}
for (Map.Entry<String, CandidateInfo> app : mCandidates.entrySet()) {
RadioButtonPreference pref = new RadioButtonPreference(getPrefContext());
bindPreference(
pref, app.getKey(), app.getValue(), defaultKey);
bindPreference(pref, app.getKey(), app.getValue(), defaultKey);
bindPreferenceExtra(pref, app.getKey(), app.getValue(), defaultKey, systemDefaultKey);
screen.addPreference(pref);
}