@Override public void unregisterRoute(MediaRouter router) { if (mRemoteControl == null) { return; } router.removeRemoteControlClient(mRemoteControl); }
public void removeFromMediaRouter(MediaRouter router) { if (null != mActualRemoteControlClient) { router.removeRemoteControlClient(mActualRemoteControlClient); } }