[Android] Remove unused values
Geoffrey Métais
git at videolan.org
Tue Feb 17 17:43:46 CET 2015
vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Feb 17 11:57:27 2015 +0100| [054d6265baa9a1e002168bd1ec43be9a62233474] | committer: Geoffrey Métais
Remove unused values
CID #1270681, #1270680
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=054d6265baa9a1e002168bd1ec43be9a62233474
---
vlc-android/src/org/videolan/vlc/widget/SlidingPaneLayout.java | 2 --
1 file changed, 2 deletions(-)
diff --git a/vlc-android/src/org/videolan/vlc/widget/SlidingPaneLayout.java b/vlc-android/src/org/videolan/vlc/widget/SlidingPaneLayout.java
index a7d83ce..0d4af8b 100644
--- a/vlc-android/src/org/videolan/vlc/widget/SlidingPaneLayout.java
+++ b/vlc-android/src/org/videolan/vlc/widget/SlidingPaneLayout.java
@@ -331,7 +331,6 @@ public class SlidingPaneLayout extends ViewGroup {
if (heightMode == MeasureSpec.AT_MOST) {
heightMode = MeasureSpec.EXACTLY;
} else if (heightMode == MeasureSpec.UNSPECIFIED) {
- heightMode = MeasureSpec.EXACTLY;
heightMode = 300;
}
} else {
@@ -343,7 +342,6 @@ public class SlidingPaneLayout extends ViewGroup {
// TODO Better communication with tools of this bogus state.
// It will crash on a real device.
if (widthMode == MeasureSpec.UNSPECIFIED) {
- widthMode = MeasureSpec.AT_MOST;
widthMode = 300;
}
} else {
More information about the Android
mailing list