Home
last modified time | relevance | path

Searched refs:mMediaController (Results 1 – 1 of 1) sorted by relevance

/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
DQueueFragment.java49 private MediaController mMediaController; field in QueueFragment
64 mMediaController = new MediaController(getActivity(),
66 mTransportControls = mMediaController.getTransportControls();
67 mMediaController.registerCallback(mSessionCallback);
69 getActivity().setMediaController(mMediaController);
70 mPlaybackState = mMediaController.getPlaybackState();
72 List<MediaSession.QueueItem> queue = mMediaController.getQueue();
90 mMediaController.unregisterCallback(mSessionCallback);
92 mMediaController = null;
180 if (mMediaController != null) { in onPause()
[all …]