[Android] Audio player playlist: fix a crash on API < 16
Adrien Maglo
git at videolan.org
Fri Jan 24 12:55:48 CET 2014
vlc-ports/android | branch: master | Adrien Maglo <magsoft at videolan.org> | Fri Jan 24 12:55:15 2014 +0100| [eeaaaae3236aa8e5ba406adafc1782acaf330ddd] | committer: Adrien Maglo
Audio player playlist: fix a crash on API < 16
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=eeaaaae3236aa8e5ba406adafc1782acaf330ddd
---
vlc-android/src/org/videolan/vlc/gui/audio/AudioPlaylistView.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vlc-android/src/org/videolan/vlc/gui/audio/AudioPlaylistView.java b/vlc-android/src/org/videolan/vlc/gui/audio/AudioPlaylistView.java
index c32b522..35262f4 100644
--- a/vlc-android/src/org/videolan/vlc/gui/audio/AudioPlaylistView.java
+++ b/vlc-android/src/org/videolan/vlc/gui/audio/AudioPlaylistView.java
@@ -55,7 +55,7 @@ public class AudioPlaylistView extends ListView {
@Override
protected void onLayout(boolean changed, int l, int t, int r, int b) {
super.onLayout(changed, l, t, r, b);
- mDragShadow.layout(l, t, l + mDragShadow.getMeasuredWidth(), t + mDragShadow.getMinimumHeight());
+ mDragShadow.layout(l, t, l + mDragShadow.getMeasuredWidth(), t + mDragShadow.getMeasuredHeight());
}
@Override
More information about the Android
mailing list