[Android] Re-apply locale on all Android versions

Geoffrey Métais git at videolan.org
Fri Jun 2 13:40:40 CEST 2017


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Fri Jun  2 13:33:58 2017 +0200| [3c6db6fc070433bc2adf6ac64d259ab258bfc6cf] | committer: Geoffrey Métais

Re-apply locale on all Android versions

> https://code.videolan.org/videolan/vlc-android/commit/3c6db6fc070433bc2adf6ac64d259ab258bfc6cf
---

 vlc-android/src/org/videolan/vlc/VLCApplication.java | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/VLCApplication.java b/vlc-android/src/org/videolan/vlc/VLCApplication.java
index db4dfad91..409139bc9 100644
--- a/vlc-android/src/org/videolan/vlc/VLCApplication.java
+++ b/vlc-android/src/org/videolan/vlc/VLCApplication.java
@@ -145,8 +145,7 @@ public class VLCApplication extends Application {
     @Override
     public void onConfigurationChanged(Configuration newConfig) {
         super.onConfigurationChanged(newConfig);
-        if (AndroidUtil.isNougatOrLater)
-            setLocale(this);
+        setLocale(this);
     }
 
     /**



More information about the Android mailing list