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

Commit f8a97d12 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...

Merge "CastTile: Set media router group id to sync cast status" into qt-dev am: 963fadf8 am: 771f1b54
am: d9e553e8

Change-Id: I4e0d294a101b1a56edf7e3fc99167a83f13dbd28
parents 28efdd01 d9e553e8
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();