Plumb SuggestionControllerMixin to DismissController.
- The SuggestionControllerMixin is needed to dismiss a suggestion. - When swipe a suggestion, SuggestionControllerMixin is called, which then calls API in SuggestionService to dismiss a suggestion. Bug: 65065268 Test: robotests Change-Id: I6a0c5823d60b995ab4a36b1c91777f5cd31a500d
This commit is contained in:
@@ -79,7 +79,8 @@ public interface SuggestionFeatureProvider {
|
||||
/**
|
||||
* Dismisses a suggestion.
|
||||
*
|
||||
* @deprecated in favor of {@link #dismissSuggestion(Context, Suggestion)}
|
||||
* @deprecated in favor of {@link #dismissSuggestion(Context, SuggestionControllerMixin,
|
||||
* Suggestion)}
|
||||
*/
|
||||
@Deprecated
|
||||
void dismissSuggestion(Context context, SuggestionParser parser, Tile suggestion);
|
||||
@@ -87,7 +88,8 @@ public interface SuggestionFeatureProvider {
|
||||
/**
|
||||
* Dismisses a suggestion.
|
||||
*/
|
||||
void dismissSuggestion(Context context, Suggestion suggestion);
|
||||
void dismissSuggestion(Context context, SuggestionControllerMixin suggestionMixin,
|
||||
Suggestion suggestion);
|
||||
|
||||
/**
|
||||
* Returns an identifier for the suggestion
|
||||
|
||||
Reference in New Issue
Block a user