Remove context from enterprisePrivacyFeatureProvider
EnterprisePrivacyFeatureProvider is created by using application context, no need pass context in when get. Bug: 286764889 Test: m Settings Change-Id: I346f2b0ccbb0590f26954603ab630132cd8be63f
This commit is contained in:
@@ -34,7 +34,7 @@ public class WorkPolicyInfoPreferenceController extends BasePreferenceController
|
||||
public WorkPolicyInfoPreferenceController(Context context, String preferenceKey) {
|
||||
super(context, preferenceKey);
|
||||
mEnterpriseProvider =
|
||||
FeatureFactory.getFactory(context).getEnterprisePrivacyFeatureProvider(context);
|
||||
FeatureFactory.getFeatureFactory().getEnterprisePrivacyFeatureProvider();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user