[Android] Make selected subtitles list volatile
Geoffrey Métais
git at videolan.org
Thu Jun 23 10:46:21 CEST 2016
vlc-android | branch: 2.0.x | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Jun 23 10:32:38 2016 +0200| [0303c015a4d32e30196a328119b23b42228658f7] | committer: Geoffrey Métais
Make selected subtitles list volatile
(cherry picked from commit a395a3dc62a020c47348af68c1e8b9386797ba40)
> https://code.videolan.org/videolan/vlc-android/commit/0303c015a4d32e30196a328119b23b42228658f7
---
vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 a1c8d1c..1ca34fd 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -308,7 +308,7 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVLCVout.C
* It is possible to have multiple custom subs in one session
* (just like desktop VLC allows you as well.)
*/
- private final ArrayList<String> mSubtitleSelectedFiles = new ArrayList<>();
+ private volatile ArrayList<String> mSubtitleSelectedFiles = new ArrayList<>();
/**
* Flag to indicate whether the media should be paused once loaded
More information about the Android
mailing list