[Android] Fix Locale problem on api > 26

Habib Kazemi git at videolan.org
Thu Jul 19 14:54:35 CEST 2018


vlc-android | branch: master | Habib Kazemi <kazemihabib1996 at gmail.com> | Sat Jul 14 01:40:09 2018 +0430| [d01ae6bf9381aa5830f40b045c7eef997265f6bf] | 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>

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

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

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


More information about the Android mailing list