Remove context from applicationFeatureProvider
ApplicationFeatureProvider is created by using application context, no need pass context in when get. Bug: 286764889 Test: m Settings Change-Id: I7f8dfe5716b7b55e0ff984f7603875d7896e2313
This commit is contained in:
@@ -69,8 +69,8 @@ public class EnterpriseSetDefaultAppsListPreferenceController extends
|
||||
super(context);
|
||||
mPm = packageManager;
|
||||
mParent = parent;
|
||||
final FeatureFactory factory = FeatureFactory.getFactory(context);
|
||||
mApplicationFeatureProvider = factory.getApplicationFeatureProvider(context);
|
||||
final FeatureFactory factory = FeatureFactory.getFeatureFactory();
|
||||
mApplicationFeatureProvider = factory.getApplicationFeatureProvider();
|
||||
mEnterprisePrivacyFeatureProvider = factory.getEnterprisePrivacyFeatureProvider(context);
|
||||
mUserFeatureProvider = factory.getUserFeatureProvider(context);
|
||||
buildAppList();
|
||||
|
Reference in New Issue
Block a user