Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8246c07f authored by Tor Norbye's avatar Tor Norbye
Browse files

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
parent 40f7202e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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 {}