Add ranking to SuggestionFeatureProvider interface.
Test: RunSettingsRoboTests Fixes: b/35363662 Change-Id: Ib786e6b2733e2b151f73fb68e174a21aedb2b20a
This commit is contained in:
@@ -225,7 +225,7 @@ public class DashboardAdapter extends RecyclerView.Adapter<DashboardAdapter.Dash
|
||||
return;
|
||||
}
|
||||
boolean isSmartSuggestionEnabled = FeatureFactory.getFactory(mContext)
|
||||
.getSuggestionFeatureProvider().isSmartSuggestionEnabled(mContext);
|
||||
.getSuggestionFeatureProvider(mContext).isSmartSuggestionEnabled(mContext);
|
||||
if (mSuggestionParser.dismissSuggestion(suggestion, isSmartSuggestionEnabled)) {
|
||||
mContext.getPackageManager().setComponentEnabledSetting(
|
||||
suggestion.intent.getComponent(),
|
||||
|
||||
Reference in New Issue
Block a user