Merge "CastTile: Set media router group id to sync cast status" into qt-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
963fadf871
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user