[Android] Fix Locale problem on api > 26

Habib Kazemi git at videolan.org
Thu Aug 2 17:26:57 CEST 2018


vlc-android | branch: 3.0.x | Habib Kazemi <kazemihabib1996 at gmail.com> | Sat Jul 14 01:40:09 2018 +0430| [3a7aecd824641fc9e145d22a870a9926e5f2354b] | committer: Geoffrey Métais

Fix Locale problem on api > 26

This patch fixes the locale change on api > 26
and also asks the user to restart the app now or not.

Signed-off-by: Geoffrey Métais <geoffrey.metais at gmail.com>
(cherry picked from commit d01ae6bf9381aa5830f40b045c7eef997265f6bf)

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

 vlc-android/res/values/strings.xml                 |  3 ++
 .../src/org/videolan/vlc/StartActivity.java        |  3 ++
 .../src/org/videolan/vlc/VLCApplication.java       | 47 +++++---------------
 .../src/org/videolan/vlc/gui/AboutFragment.java    |  2 +-
 .../vlc/gui/AudioPlayerContainerActivity.java      |  3 +-
 .../src/org/videolan/vlc/gui/helpers/UiTools.java  | 51 +++++++++++++++++++++-
 .../vlc/gui/preferences/PreferencesUi.java         |  3 +-
 .../vlc/gui/tv/preferences/PreferencesUi.java      |  4 +-
 8 files changed, 75 insertions(+), 41 deletions(-)

Diff:   https://code.videolan.org/videolan/vlc-android/commit/3a7aecd824641fc9e145d22a870a9926e5f2354b


More information about the Android mailing list