Wrap a white adaptive background if it is not an AdaptiveIcon
Bug: 183501919 Test: manual test Change-Id: I6a899aa0fcb724d5318274190f359080fc2d0615
This commit is contained in:
@@ -205,7 +205,7 @@ public abstract class RadioButtonPickerFragment extends InstrumentedPreferenceFr
|
||||
public RadioButtonPreference bindPreference(RadioButtonPreference pref,
|
||||
String key, CandidateInfo info, String defaultKey) {
|
||||
pref.setTitle(info.loadLabel());
|
||||
Utils.setSafeIcon(pref, info.loadIcon());
|
||||
pref.setIcon(Utils.getSafeIcon(info.loadIcon()));
|
||||
pref.setKey(key);
|
||||
if (TextUtils.equals(defaultKey, key)) {
|
||||
pref.setChecked(true);
|
||||
|
Reference in New Issue
Block a user