diff options
| author | 2017-07-07 10:21:09 -0700 | |
|---|---|---|
| committer | 2017-07-07 10:21:09 -0700 | |
| commit | 8246c07fa2d38b3b5859f43b5cc86ea4fbdf6176 (patch) | |
| tree | 6f6b1e1adba79e2af711c047af7ef89a747b7e9b | |
| parent | 40f7202e8145a6c4c4073b91303373594e64fb0d (diff) | |
Add COMPANION_DEVICE_SERVICE to @ServiceName
This constant is now supported by Context#getSystemService
but was not added to the @ServiceName typedef.
Test: Manual (after metadata update in the tools, checked
code completion for getSystemService() call)
Change-Id: If1916726b57c8f187ecc8401dd7fafaa9ba216d0
| -rw-r--r-- | core/java/android/content/Context.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/java/android/content/Context.java b/core/java/android/content/Context.java index 852d71f7b71d..3501a0917cfa 100644 --- a/core/java/android/content/Context.java +++ b/core/java/android/content/Context.java @@ -2925,7 +2925,8 @@ public abstract class Context { SHORTCUT_SERVICE, //@hide: CONTEXTHUB_SERVICE, SYSTEM_HEALTH_SERVICE, - //@hide: INCIDENT_SERVICE + //@hide: INCIDENT_SERVICE, + COMPANION_DEVICE_SERVICE }) @Retention(RetentionPolicy.SOURCE) public @interface ServiceName {} |