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

Commit e07f49e7 authored by Alex Dadukin's avatar Alex Dadukin
Browse files

Remove @RequiresPermission annotation from checkMediaRoutingControlPermission

Non-functional change. Method checkMediaRoutingControlPermission should not require
MEDIA_ROUTING_CONTROL permission as it checks whether this permission is
granted to the calling app.

Bug: b/325755852
Test: NA
Change-Id: I6533fb7bcc0b99c8989bf2fbb304a1f3f27dcfe8
parent f1ae44f0
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -851,7 +851,6 @@ class MediaRouter2ServiceImpl {
        }
    }

    @RequiresPermission(value = Manifest.permission.MEDIA_ROUTING_CONTROL, conditional = true)
    private boolean checkMediaRoutingControlPermission(
            int callerUid, int callerPid, @Nullable String callerPackageName) {
        return PermissionChecker.checkPermissionForDataDelivery(