Merge "Use IconDrawableFactory to load icons for default apps."
This commit is contained in:
committed by
Android (Google) Code Review
commit
5317e70be1
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user