Remove the redundant constructor of SuggestionFeatureProviderImpl
Fix: 175167313 Test: robotest Change-Id: I7ebbaf92398a8300971d592e2ee7a6e0d82c1d2f
This commit is contained in:
@@ -225,10 +225,9 @@ public class FeatureFactoryImpl extends FeatureFactory {
|
||||
}
|
||||
|
||||
@Override
|
||||
public SuggestionFeatureProvider getSuggestionFeatureProvider(Context context) {
|
||||
public SuggestionFeatureProvider getSuggestionFeatureProvider() {
|
||||
if (mSuggestionFeatureProvider == null) {
|
||||
mSuggestionFeatureProvider = new SuggestionFeatureProviderImpl(
|
||||
context.getApplicationContext());
|
||||
mSuggestionFeatureProvider = new SuggestionFeatureProviderImpl();
|
||||
}
|
||||
return mSuggestionFeatureProvider;
|
||||
}
|
||||
|
Reference in New Issue
Block a user