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

Commit 446e019a authored by Michael Wright's avatar Michael Wright
Browse files

Add MEDIA_PROJECTION_SERVICE to the ServiceName list.

This prevents our lint tooling from complaining that we're passing
invalid values when trying to get the MediaProjectionManager.

Bug: 18830590
Change-Id: I34633248e895b0ac7f5083e18a7d2385ca6f8adb
parent ec3f46a5
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2142,6 +2142,7 @@ public abstract class Context {
            MEDIA_SESSION_SERVICE,
            BATTERY_SERVICE,
            JOB_SCHEDULER_SERVICE,
            MEDIA_PROJECTION_SERVICE,
    })
    @Retention(RetentionPolicy.SOURCE)
    public @interface ServiceName {}