[Android] Set App instance sooner
Geoffrey Métais
git at videolan.org
Mon Sep 11 11:57:17 CEST 2017
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon Sep 11 11:55:18 2017 +0200| [ee05f8df0a847eacfd11cddf3c4f692ec1e543eb] | committer: Geoffrey Métais
Set App instance sooner
> https://code.videolan.org/videolan/vlc-android/commit/ee05f8df0a847eacfd11cddf3c4f692ec1e543eb
---
vlc-android/src/org/videolan/vlc/VLCApplication.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vlc-android/src/org/videolan/vlc/VLCApplication.java b/vlc-android/src/org/videolan/vlc/VLCApplication.java
index 9349f9104..f30464f9b 100644
--- a/vlc-android/src/org/videolan/vlc/VLCApplication.java
+++ b/vlc-android/src/org/videolan/vlc/VLCApplication.java
@@ -88,8 +88,8 @@ public class VLCApplication extends Application {
@Override
public void onCreate() {
- super.onCreate();
instance = this;
+ super.onCreate();
mSettings = PreferenceManager.getDefaultSharedPreferences(this);
setLocale();
More information about the Android
mailing list