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 --- api/current.txt | 2 +- api/system-current.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'api') diff --git a/api/current.txt b/api/current.txt index 058297a..24ad077 100644 --- a/api/current.txt +++ b/api/current.txt @@ -6148,10 +6148,10 @@ package android.app.usage { method public java.lang.String getPackageName(); method public long getTimeStamp(); field public static final int CONFIGURATION_CHANGE = 5; // 0x5 - field public static final int INTERACTION = 6; // 0x6 field public static final int MOVE_TO_BACKGROUND = 2; // 0x2 field public static final int MOVE_TO_FOREGROUND = 1; // 0x1 field public static final int NONE = 0; // 0x0 + field public static final int USER_INTERACTION = 7; // 0x7 } public final class UsageStats implements android.os.Parcelable { diff --git a/api/system-current.txt b/api/system-current.txt index ea2de6b..0d10c43 100644 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -6341,10 +6341,10 @@ package android.app.usage { method public java.lang.String getPackageName(); method public long getTimeStamp(); field public static final int CONFIGURATION_CHANGE = 5; // 0x5 - field public static final int INTERACTION = 6; // 0x6 field public static final int MOVE_TO_BACKGROUND = 2; // 0x2 field public static final int MOVE_TO_FOREGROUND = 1; // 0x1 field public static final int NONE = 0; // 0x0 + field public static final int USER_INTERACTION = 7; // 0x7 } public final class UsageStats implements android.os.Parcelable { -- cgit v1.1