Remove unused SuggestionFeatureProvider APIs.
Bug: 111941143 Test: robotests Change-Id: Ic4e607b3601fd43ad57dad13474e2d0ee78bf29c
This commit is contained in:
@@ -20,15 +20,14 @@ import android.content.ComponentName;
|
||||
import android.content.Context;
|
||||
import android.content.SharedPreferences;
|
||||
import android.service.settings.suggestions.Suggestion;
|
||||
import android.util.Pair;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
|
||||
import com.android.settingslib.drawer.Tile;
|
||||
import com.android.settingslib.suggestions.SuggestionControllerMixinCompat;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
|
||||
/** Interface should be implemented if you have added new suggestions */
|
||||
public interface SuggestionFeatureProvider {
|
||||
|
||||
@@ -42,11 +41,6 @@ public interface SuggestionFeatureProvider {
|
||||
*/
|
||||
ComponentName getSuggestionServiceComponent();
|
||||
|
||||
/**
|
||||
* Returns true if smart suggestion should be used instead of xml based SuggestionParser.
|
||||
*/
|
||||
boolean isSmartSuggestionEnabled(Context context);
|
||||
|
||||
/** Return true if the suggestion has already been completed and does not need to be shown */
|
||||
boolean isSuggestionComplete(Context context, @NonNull ComponentName suggestion);
|
||||
|
||||
@@ -65,9 +59,4 @@ public interface SuggestionFeatureProvider {
|
||||
*/
|
||||
void dismissSuggestion(Context context, SuggestionControllerMixinCompat suggestionMixin,
|
||||
Suggestion suggestion);
|
||||
|
||||
/**
|
||||
* Returns common tagged data for suggestion logging.
|
||||
*/
|
||||
Pair<Integer, Object>[] getLoggingTaggedData(Context context);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user