Merge "Use IconDrawableFactory to load icons for default apps."

This commit is contained in:
TreeHugger Robot
2017-10-18 17:47:33 +00:00
committed by Android (Google) Code Review
22 changed files with 137 additions and 118 deletions

View File

@@ -85,7 +85,7 @@ public class WebViewAppPreferenceControllerV2 extends
@VisibleForTesting
DefaultAppInfo getDefaultAppInfo() {
final PackageInfo currentPackage = mWebViewUpdateServiceWrapper.getCurrentWebViewPackage();
return new DefaultAppInfo(mPackageManager,
return new DefaultAppInfo(mContext, mPackageManager,
currentPackage == null ? null : currentPackage.applicationInfo);
}