Ensure certain new UsageEvents have a String mapping.
Bug: n/a Test: m Change-Id: I7aa9f0fcb7799f36e16351e44db35faeb46aa083
This commit is contained in:
@@ -1170,6 +1170,12 @@ class UserUsageStatsService {
|
||||
return "DEVICE_SHUTDOWN";
|
||||
case Event.DEVICE_STARTUP:
|
||||
return "DEVICE_STARTUP";
|
||||
case Event.USER_UNLOCKED:
|
||||
return "USER_UNLOCKED";
|
||||
case Event.USER_STOPPED:
|
||||
return "USER_STOPPED";
|
||||
case Event.LOCUS_ID_SET:
|
||||
return "LOCUS_ID_SET";
|
||||
default:
|
||||
return "UNKNOWN_TYPE_" + eventType;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user