Add generic "INTERACTION" event type to UsageStatsManager

This will allow for updating a package's last time used
property for packages that are interacted in ways other than
launching their activities (interacting with notifications, etc.)

Change-Id: Ic6f9519f46fa04abd37ea6fc9475bcd9ea721003
This commit is contained in:
Adam Lesinski
2015-03-02 11:37:24 -08:00
parent 5414d155e5
commit 978a1ed5aa
8 changed files with 55 additions and 1 deletions

View File

@@ -166,6 +166,9 @@ public class UsageLogActivity extends ListActivity implements Runnable {
case UsageEvents.Event.CONFIGURATION_CHANGE:
return "Config change";
case UsageEvents.Event.INTERACTION:
return "Interaction";
default:
return "Unknown: " + eventType;
}