Пример #1
0
 private void stop() {
   mLibVLC.stop();
   mEventManager.removeHandler(mEventHandler);
   setRemoteControlClientPlaybackState(RemoteControlClient.PLAYSTATE_STOPPED);
   mCurrentMedia = null;
   mMediaList.clear();
   mPrevious.clear();
   mHandler.removeMessages(SHOW_PROGRESS);
   hideNotification();
   executeUpdate();
   changeAudioFocus(false);
 }
Пример #2
0
 public void onStopPlayback() {
   Log.v(TAG, Logging.getCurrentMethodName());
   mLatestCommand = FromLogicToPlayer.STOP;
   mLibVlcInstance.stop();
 }