Support changes in support prefs for DeviceDefault themes

Change-Id: Id9c333aed202cca8a8845e6f58af1c252e7e111a
This commit is contained in:
Jason Monk
2015-10-28 14:34:53 -04:00
parent 85b2d55d36
commit 52a302e81b
10 changed files with 320 additions and 15 deletions

View File

@@ -24,7 +24,7 @@ public class AppListSwitchPreference extends AppListPreference {
@Override
public void onBindViewHolder(PreferenceViewHolder view) {
super.onBindViewHolder(view);
mSwitch = (Checkable) view.findViewById(com.android.internal.R.id.switchWidget);
mSwitch = (Checkable) view.findViewById(com.android.internal.R.id.switch_widget);
mSwitch.setChecked(getValue() != null);
}