Add action for search results including the count
Bug: 20293458 Change-Id: I9d3f04fb74c0e978e69e17898b703e270298fcbc
This commit is contained in:
@@ -83,6 +83,8 @@ public class SearchResultsSummary extends InstrumentedFragment {
|
||||
@Override
|
||||
protected void onPostExecute(Cursor cursor) {
|
||||
if (!isCancelled()) {
|
||||
MetricsLogger.action(getContext(), InstrumentedFragment.ACTION_SEARCH_RESULTS,
|
||||
cursor.getCount());
|
||||
setResultsCursor(cursor);
|
||||
setResultsVisibility(cursor.getCount() > 0);
|
||||
} else if (cursor != null) {
|
||||
|
Reference in New Issue
Block a user