[Android] Fix Audio Player launch from homescreen notif

Geoffrey Métais git at videolan.org
Tue Nov 25 12:29:04 CET 2014


vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Nov 25 12:23:28 2014 +0100| [381ebcabd749b3e1eebb1bf0ef068f4ff72b4710] | committer: Geoffrey Métais

Fix Audio Player launch from homescreen notif

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=381ebcabd749b3e1eebb1bf0ef068f4ff72b4710
---

 .../src/org/videolan/vlc/gui/tv/audioplayer/AudioPlayerActivity.java |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vlc-android/tv/src/org/videolan/vlc/gui/tv/audioplayer/AudioPlayerActivity.java b/vlc-android/tv/src/org/videolan/vlc/gui/tv/audioplayer/AudioPlayerActivity.java
index 4c422d6..f0d6f7a 100644
--- a/vlc-android/tv/src/org/videolan/vlc/gui/tv/audioplayer/AudioPlayerActivity.java
+++ b/vlc-android/tv/src/org/videolan/vlc/gui/tv/audioplayer/AudioPlayerActivity.java
@@ -105,7 +105,7 @@ public class AudioPlayerActivity extends Activity implements AudioServiceControl
 		mRecyclerView.post(new Runnable() {
 			@Override
 			public void run() {
-				mLayoutManager.getChildAt(mSelectedItem).setSelected(true);
+				update();
 			}
 		});
 	};



More information about the Android mailing list