Merge "Use standard preference layout for wallpaper picker" into oc-dev am: 8e1d588cdf

am: d96ce57713

Change-Id: I50bb90a53c74960465c73aafc8ae5ee0e8021b50
This commit is contained in:
Fan Zhang
2017-04-17 22:33:08 +00:00
committed by android-build-merger
3 changed files with 0 additions and 78 deletions

View File

@@ -67,7 +67,6 @@ public class WallpaperTypeSettings extends SettingsPreferenceFragment implements
// Add Preference items for each of the matching activities
for (ResolveInfo info : rList) {
Preference pref = new Preference(getPrefContext());
pref.setLayoutResource(R.layout.preference_wallpaper_type);
Intent prefIntent = new Intent(intent);
prefIntent.setComponent(new ComponentName(
info.activityInfo.packageName, info.activityInfo.name));