Let SuggestionFeatureProvider manage SuggestionService name
Bug: 65065268 Test: robotests Change-Id: I82315a7b1565dc34b516bf685ad8e831a1e28591
This commit is contained in:
@@ -32,6 +32,7 @@ public interface SuggestionFeatureProvider {
|
||||
|
||||
/**
|
||||
* Whether or not the whole suggestion feature is enabled.
|
||||
*
|
||||
* @deprecated in favor of {@link #isSuggestionV2Enabled(Context)}
|
||||
*/
|
||||
@Deprecated
|
||||
@@ -42,6 +43,11 @@ public interface SuggestionFeatureProvider {
|
||||
*/
|
||||
boolean isSuggestionV2Enabled(Context context);
|
||||
|
||||
/**
|
||||
* Returns the component name for SuggestionService.
|
||||
*/
|
||||
ComponentName getSuggestionServiceComponent();
|
||||
|
||||
/**
|
||||
* Returns true if smart suggestion should be used instead of xml based SuggestionParser.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user