[Android] Use constant instead of hardcoded value
Geoffrey Métais
git at videolan.org
Tue Jan 5 16:09:36 CET 2016
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Jan 5 16:07:50 2016 +0100| [31db196a0e2278a5c59c6a6dfb6fdd3de4c35888] | committer: Geoffrey Métais
Use constant instead of hardcoded value
> https://code.videolan.org/videolan/vlc-android/commit/31db196a0e2278a5c59c6a6dfb6fdd3de4c35888
---
vlc-android/src/org/videolan/vlc/gui/dialogs/AdvOptionsDialog.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vlc-android/src/org/videolan/vlc/gui/dialogs/AdvOptionsDialog.java b/vlc-android/src/org/videolan/vlc/gui/dialogs/AdvOptionsDialog.java
index 6068ae1..d8e3ff5 100644
--- a/vlc-android/src/org/videolan/vlc/gui/dialogs/AdvOptionsDialog.java
+++ b/vlc-android/src/org/videolan/vlc/gui/dialogs/AdvOptionsDialog.java
@@ -476,7 +476,7 @@ public class AdvOptionsDialog extends DialogFragment implements View.OnClickList
public int getSpanSize(int position) {
switch (mAdapter.getItemViewType(position)) {
case ID_CHAPTER_TITLE:
- return 3;
+ return SPAN_COUNT;
default:
return 1;
}
More information about the Android
mailing list