Add SuggestionFeatureProvider interface.
The interface is added so that a vendor can add new suggestions to the settings app, and customize details for these suggestions. Test: make RunSettingsRoboTests BUG: 34219298 Change-Id: I373c63709b1aaf68360aa2561a2ecfc3194e0e2b
This commit is contained in:
@@ -26,4 +26,10 @@ public interface SuggestionFeatureProvider {
|
||||
*/
|
||||
boolean isSmartSuggestionEnabled(Context context);
|
||||
|
||||
/** Return true if className is the name of a class of one of your newly added suggestion. */
|
||||
boolean isPresent(String className);
|
||||
|
||||
/** Return true if the suggestion has already been completed and does not need to be shown */
|
||||
boolean isSuggestionCompleted(Context context);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user