Merge "CastTile: Set media router group id to sync cast status" into qt-dev am: 963fadf871
am: 771f1b5442
Change-Id: Ib4475d6f8236a28b63db1ce7e25dccd9cd8dac69
This commit is contained in:
@@ -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