From c8e8729244d75584ce71a74d29c452fe538a22c5 Mon Sep 17 00:00:00 2001 From: Adam Lesinski Date: Wed, 10 Jun 2015 15:33:45 -0700 Subject: 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 --- .../src/com/android/tests/usagestats/UsageLogActivity.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'tests') 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; -- cgit v1.1