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

Commit 771f1b54 authored by Kyunglyul Hyun's avatar Kyunglyul Hyun Committed by android-build-merger
Browse files

Merge "CastTile: Set media router group id to sync cast status" into qt-dev

am: 963fadf8

Change-Id: I572e3b66a23f5e6cb2104f8b70e7b39dae1a5bdc
parents b1298f4d 963fadf8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -71,6 +71,7 @@ public class CastControllerImpl implements CastController {
    public CastControllerImpl(Context context) {
        mContext = context;
        mMediaRouter = (MediaRouter) context.getSystemService(Context.MEDIA_ROUTER_SERVICE);
        mMediaRouter.setRouterGroupId(MediaRouter.MIRRORING_GROUP_ID);
        mProjectionManager = (MediaProjectionManager)
                context.getSystemService(Context.MEDIA_PROJECTION_SERVICE);
        mProjection = mProjectionManager.getActiveProjectionInfo();