diff options
author | Jason Monk <jmonk@google.com> | 2015-06-23 14:36:08 -0400 |
---|---|---|
committer | Jason Monk <jmonk@google.com> | 2015-06-23 14:36:08 -0400 |
commit | cbbc69b823021fd261db4b5d1f43d6e322ee39c6 (patch) | |
tree | 9face7f4f2cb3aae7aafad7c5218f7ab4df0c63d /src/com/android/settings/dashboard | |
parent | 9dd754e1f405aa47a6d9c97bf50f23c8f51b7a79 (diff) | |
download | packages_apps_Settings-cbbc69b823021fd261db4b5d1f43d6e322ee39c6.zip packages_apps_Settings-cbbc69b823021fd261db4b5d1f43d6e322ee39c6.tar.gz packages_apps_Settings-cbbc69b823021fd261db4b5d1f43d6e322ee39c6.tar.bz2 |
Add action for search results including the count
Bug: 20293458
Change-Id: I9d3f04fb74c0e978e69e17898b703e270298fcbc
Diffstat (limited to 'src/com/android/settings/dashboard')
-rw-r--r-- | src/com/android/settings/dashboard/SearchResultsSummary.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/settings/dashboard/SearchResultsSummary.java b/src/com/android/settings/dashboard/SearchResultsSummary.java index af7cf4a..7a83a85 100644 --- a/src/com/android/settings/dashboard/SearchResultsSummary.java +++ b/src/com/android/settings/dashboard/SearchResultsSummary.java @@ -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) { |