[Android] Remove logically dead code
Geoffrey Métais
git at videolan.org
Thu Feb 19 11:09:06 CET 2015
vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Feb 19 10:56:35 2015 +0100| [71312f601ec918558b796380c20a05c36d4bf3f3] | committer: Geoffrey Métais
Remove logically dead code
CID #1226288
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=71312f601ec918558b796380c20a05c36d4bf3f3
---
vlc-android/src/org/videolan/vlc/gui/expandable/JumpToTime.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vlc-android/src/org/videolan/vlc/gui/expandable/JumpToTime.java b/vlc-android/src/org/videolan/vlc/gui/expandable/JumpToTime.java
index 76b3492..1e843ef 100644
--- a/vlc-android/src/org/videolan/vlc/gui/expandable/JumpToTime.java
+++ b/vlc-android/src/org/videolan/vlc/gui/expandable/JumpToTime.java
@@ -68,7 +68,7 @@ public class JumpToTime extends ExpandableLayout {
int seconds = c.get(Calendar.SECOND);
boolean isCyclic = false;
mHourWheel.setCyclic(isCyclic);
- mHourWheel.setViewAdapter(new NumericWheelAdapter(context, 0, isCyclic ? 23 : hours, "%02d"));
+ mHourWheel.setViewAdapter(new NumericWheelAdapter(context, 0, hours, "%02d"));
mMinWheel.setCyclic(isCyclic = isCyclic || hours > 0);
mMinWheel.setViewAdapter(new NumericWheelAdapter(context, 0, isCyclic ? 59 : minutes, "%02d"));
mSecWheel.setCyclic(isCyclic = isCyclic || minutes > 0);
More information about the Android
mailing list