[Android] Code cleanng for video player fields
Geoffrey Métais
git at videolan.org
Thu Dec 7 17:15:30 CET 2017
vlc-android | branch: 2.5.x | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Dec 7 14:22:59 2017 +0100| [a46d561338369905a1db5ff97898aa6258c1a411] | committer: Geoffrey Métais
Code cleanng for video player fields
> https://code.videolan.org/videolan/vlc-android/commit/a46d561338369905a1db5ff97898aa6258c1a411
---
.../src/org/videolan/vlc/gui/video/VideoPlayerActivity.java | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
index 56d56035b..1adb0ff7e 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -175,8 +175,11 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVLCVout.C
public final static int RESULT_PLAYBACK_ERROR = RESULT_FIRST_USER + 2;
public final static int RESULT_VIDEO_TRACK_LOST = RESULT_FIRST_USER + 3;
private static final float DEFAULT_FOV = 80f;
- public static final float MIN_FOV = 20f;
- public static final float MAX_FOV = 150f;
+ private static final float MIN_FOV = 20f;
+ private static final float MAX_FOV = 150f;
+
+ private final static String KEY_REMAINING_TIME_DISPLAY = "remaining_time_display";
+ private final static String KEY_BLUETOOTH_DELAY = "key_bluetooth_delay";
private final PlaybackServiceActivity.Helper mHelper = new PlaybackServiceActivity.Helper(this, this);
protected PlaybackService mService;
@@ -271,8 +274,6 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVLCVout.C
private int mCurrentScreenOrientation;
private ImageView mLock;
private ImageView mSize;
- private String KEY_REMAINING_TIME_DISPLAY = "remaining_time_display";
- private String KEY_BLUETOOTH_DELAY = "key_bluetooth_delay";
private long mSpuDelay = 0L;
private long mAudioDelay = 0L;
private boolean mRateHasChanged = false;
More information about the Android
mailing list