Make the Context service constant for UsageStats public

This was an oversight in L, where we did not make this
service constant public.

Change-Id: I42e38cb5ef8420cadc1a4a6705821189d911ccfe
This commit is contained in:
Adam Lesinski
2014-11-24 11:27:50 -08:00
parent 8c81609616
commit aa6076701d
2 changed files with 2 additions and 2 deletions

View File

@@ -7277,6 +7277,7 @@ package android.content {
field public static final java.lang.String TEXT_SERVICES_MANAGER_SERVICE = "textservices";
field public static final java.lang.String TV_INPUT_SERVICE = "tv_input";
field public static final java.lang.String UI_MODE_SERVICE = "uimode";
field public static final java.lang.String USAGE_STATS_SERVICE = "usagestats";
field public static final java.lang.String USB_SERVICE = "usb";
field public static final java.lang.String USER_SERVICE = "user";
field public static final java.lang.String VIBRATOR_SERVICE = "vibrator";

View File

@@ -2877,11 +2877,10 @@ public abstract class Context {
/**
* Use with {@link #getSystemService} to retrieve a {@link
* android.app.usage.UsageStatsManager} for interacting with the status bar.
* android.app.usage.UsageStatsManager} for querying device usage stats.
*
* @see #getSystemService
* @see android.app.usage.UsageStatsManager
* @hide
*/
public static final String USAGE_STATS_SERVICE = "usagestats";