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

Commit e88b0e76 authored by Jason Monk's avatar Jason Monk Committed by Android Git Automerger
Browse files

am 48d7a89c: Add missing passive discovery flag automerge: 4444c5b2 automerge:...

am 48d7a89c: Add missing passive discovery flag automerge: 4444c5b2 automerge: 07faf0e1 automerge: e5857402 automerge: 8ae1a5e1

* commit '48d7a89c':
  Add missing passive discovery flag
parents 12d1fe0d 48d7a89c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -91,7 +91,8 @@ public final class MediaProjectionManagerService extends SystemService
    public void onStart() {
        publishBinderService(Context.MEDIA_PROJECTION_SERVICE, new BinderService(),
                false /*allowIsolated*/);
        mMediaRouter.addCallback(MediaRouter.ROUTE_TYPE_REMOTE_DISPLAY, mMediaRouterCallback);
        mMediaRouter.addCallback(MediaRouter.ROUTE_TYPE_REMOTE_DISPLAY, mMediaRouterCallback,
                MediaRouter.CALLBACK_FLAG_PASSIVE_DISCOVERY);
    }

    @Override