[Android] Apply preference change
Geoffrey Métais
git at videolan.org
Tue Jan 17 11:20:13 CET 2017
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Jan 17 11:13:39 2017 +0100| [02554249c2f1de862e6dc447bded1e2c01b89304] | committer: Geoffrey Métais
Apply preference change
> https://code.videolan.org/videolan/vlc-android/commit/02554249c2f1de862e6dc447bded1e2c01b89304
---
vlc-android/src/org/videolan/vlc/gui/video/PopupManager.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vlc-android/src/org/videolan/vlc/gui/video/PopupManager.java b/vlc-android/src/org/videolan/vlc/gui/video/PopupManager.java
index 0322a36..11762b9 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/PopupManager.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/PopupManager.java
@@ -289,7 +289,7 @@ public class PopupManager implements PlaybackService.Callback, GestureDetector.O
SharedPreferences.Editor editor = PreferenceManager.getDefaultSharedPreferences(mService).edit();
// Save position
if (mService.isSeekable() && time != -1)
- editor.putLong(PreferencesActivity.VIDEO_RESUME_TIME, time);
+ editor.putLong(PreferencesActivity.VIDEO_RESUME_TIME, time).apply();
}
private void showNotification() {
More information about the Android
mailing list