Log cleanup: remove unnecessary logging for suggestions
- Remove show_suggestion logging in DashboardAdapater. Showing suggestion is logged inside SuggestionAdapter during onBind. - Remove hide_suggestion logging. It's not used by anyone. - Move SuggestionLogHelper into SuggestionFeatureProvider Bug: 65065268 Test: robotests Change-Id: I1e7929d739b79527d2ae01c25177676f6be6ddff
This commit is contained in:
@@ -21,6 +21,7 @@ import android.content.Context;
|
||||
import android.content.SharedPreferences;
|
||||
import android.service.settings.suggestions.Suggestion;
|
||||
import android.support.annotation.NonNull;
|
||||
import android.util.Pair;
|
||||
|
||||
import com.android.settingslib.drawer.Tile;
|
||||
import com.android.settingslib.suggestions.SuggestionParser;
|
||||
@@ -93,6 +94,14 @@ public interface SuggestionFeatureProvider {
|
||||
|
||||
/**
|
||||
* Returns an identifier for the suggestion
|
||||
*
|
||||
* @deprecated in favor or {@link Suggestion#getId()}
|
||||
*/
|
||||
@Deprecated
|
||||
String getSuggestionIdentifier(Context context, Tile suggestion);
|
||||
|
||||
/**
|
||||
* Returns common tagged data for suggestion logging.
|
||||
*/
|
||||
Pair<Integer, Object>[] getLoggingTaggedData(Context context);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user