diff options
author | Adam Lesinski <adamlesinski@google.com> | 2015-06-10 15:33:45 -0700 |
---|---|---|
committer | Adam Lesinski <adamlesinski@google.com> | 2015-06-11 22:01:45 +0000 |
commit | c8e8729244d75584ce71a74d29c452fe538a22c5 (patch) | |
tree | 11388496fdf1aef923b10b70f26c4e11f7a2def2 /tests | |
parent | 3d53a26d1a8471f4709b528686601381fd7e6da4 (diff) | |
download | frameworks_base-c8e8729244d75584ce71a74d29c452fe538a22c5.zip frameworks_base-c8e8729244d75584ce71a74d29c452fe538a22c5.tar.gz frameworks_base-c8e8729244d75584ce71a74d29c452fe538a22c5.tar.bz2 |
UsageStats: Change INTERACTION to SYSTEM_INTERACTION
SYSTEM_INTERACTION events are signals to the system for a package's
implicit actions (service bound, etc).
These should not affect the API visible stats like lastTimeUsed, etc.
USER_INTERACTION is for user initiated actions (notification interaction, etc).
Bug:21761781
Change-Id: I4585cf35fbb158612a3c737710108bec34e89183
Diffstat (limited to 'tests')
-rw-r--r-- | tests/UsageStatsTest/src/com/android/tests/usagestats/UsageLogActivity.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/UsageStatsTest/src/com/android/tests/usagestats/UsageLogActivity.java b/tests/UsageStatsTest/src/com/android/tests/usagestats/UsageLogActivity.java index 8e6daea..05cac10 100644 --- a/tests/UsageStatsTest/src/com/android/tests/usagestats/UsageLogActivity.java +++ b/tests/UsageStatsTest/src/com/android/tests/usagestats/UsageLogActivity.java @@ -28,8 +28,6 @@ import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.TextView; -import java.util.ArrayList; - public class UsageLogActivity extends ListActivity implements Runnable { private static final long USAGE_STATS_PERIOD = 1000 * 60 * 60 * 24 * 14; @@ -166,8 +164,8 @@ public class UsageLogActivity extends ListActivity implements Runnable { case UsageEvents.Event.CONFIGURATION_CHANGE: return "Config change"; - case UsageEvents.Event.INTERACTION: - return "Interaction"; + case UsageEvents.Event.USER_INTERACTION: + return "User Interaction"; default: return "Unknown: " + eventType; |