Searched refs:mRemoteControlClient (Results 1 – 1 of 1) sorted by relevance
96 private RemoteControlClient mRemoteControlClient; field in MainActivity396 mRemoteControlClient = new RemoteControlClient(mMediaPendingIntent); in registerRemoteControlClient()397 mAudioManager.registerRemoteControlClient(mRemoteControlClient); in registerRemoteControlClient()398 mMediaRouter.addRemoteControlClient(mRemoteControlClient); in registerRemoteControlClient()400 mRemoteControlClient.setTransportControlFlags(RemoteControlClient in registerRemoteControlClient()402 mRemoteControlClient.setPlaybackState(RemoteControlClient.PLAYSTATE_PLAYING); in registerRemoteControlClient()408 if (mRemoteControlClient != null) { in unregisterRemoteControlClient()409 mRemoteControlClient.setTransportControlFlags(0); in unregisterRemoteControlClient()412 mAudioManager.unregisterRemoteControlClient(mRemoteControlClient); in unregisterRemoteControlClient()413 mMediaRouter.removeRemoteControlClient(mRemoteControlClient); in unregisterRemoteControlClient()[all …]