[Android] SlidingPaneLayout: fix a crash

Adrien Maglo git at videolan.org
Sat Feb 1 18:05:28 CET 2014


vlc-ports/android | branch: master | Adrien Maglo <magsoft at videolan.org> | Sat Feb  1 17:42:33 2014 +0100| [d77dacafcf569be95b477b574b677b99cc4ed26b] | committer: Adrien Maglo

SlidingPaneLayout: fix a crash

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

 vlc-android/src/org/videolan/vlc/widget/SlidingPaneLayout.java |    1 +
 1 file changed, 1 insertion(+)

diff --git a/vlc-android/src/org/videolan/vlc/widget/SlidingPaneLayout.java b/vlc-android/src/org/videolan/vlc/widget/SlidingPaneLayout.java
index f3dd51a..2238c99 100644
--- a/vlc-android/src/org/videolan/vlc/widget/SlidingPaneLayout.java
+++ b/vlc-android/src/org/videolan/vlc/widget/SlidingPaneLayout.java
@@ -557,6 +557,7 @@ public class SlidingPaneLayout extends ViewGroup {
             mDragHelper.processTouchEvent(ev);
         }
         catch (IllegalArgumentException ex) { }
+        catch (ArrayIndexOutOfBoundsException ex) { }
 
         return true;
     }



More information about the Android mailing list