[Android] Playback: Do not acquire audiofocus too soon

Geoffrey Métais git at videolan.org
Wed Jan 31 15:36:47 CET 2018


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Jan 31 14:24:29 2018 +0100| [9ee15230b0cd199b7448f5f58794c63d7cc3f86a] | committer: Geoffrey Métais

Playback: Do not acquire audiofocus too soon

> https://code.videolan.org/videolan/vlc-android/commit/9ee15230b0cd199b7448f5f58794c63d7cc3f86a
---

 vlc-android/src/org/videolan/vlc/PlaybackService.java | 1 -
 1 file changed, 1 deletion(-)

diff --git a/vlc-android/src/org/videolan/vlc/PlaybackService.java b/vlc-android/src/org/videolan/vlc/PlaybackService.java
index 029310f47..aa2b37a7d 100644
--- a/vlc-android/src/org/videolan/vlc/PlaybackService.java
+++ b/vlc-android/src/org/videolan/vlc/PlaybackService.java
@@ -721,7 +721,6 @@ public class PlaybackService extends MediaBrowserServiceCompat{
     }
 
     public void onNewPlayback(final MediaWrapper mw) {
-        changeAudioFocus(true);
         mMediaSession.setSessionActivity(getSessionPendingIntent());
         mHandler.sendEmptyMessage(SHOW_PROGRESS);
     }



More information about the Android mailing list