[Android] Settings: prevent restarting vlc from blocking the UI Thread

Nicolas Pomepuy git at videolan.org
Tue Sep 20 13:49:30 UTC 2022


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Fri Sep  9 08:49:52 2022 +0200| [dd34748b3ca6b4b9fcebb6bfc2f6d7f20e8156d0] | committer: Nicolas Pomepuy

Settings: prevent restarting vlc from blocking the UI Thread

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

 .../java/org/videolan/resources/VLCInstance.kt     |  6 ++--
 .../ui/preferences/PreferencesActivity.kt          |  5 ----
 .../ui/preferences/PreferencesAdvanced.kt          | 27 +++++++++--------
 .../television/ui/preferences/PreferencesAudio.kt  | 16 ++++++----
 .../ui/preferences/PreferencesSubtitles.kt         | 13 +++++---
 .../television/ui/preferences/PreferencesVideo.kt  | 13 +++++---
 .../videolan/vlc/gui/helpers/PreferenceUtils.kt    | 35 ++++++++++++++++++++++
 .../vlc/gui/preferences/PreferencesActivity.kt     |  5 ----
 .../vlc/gui/preferences/PreferencesAdvanced.kt     | 29 ++++++++++--------
 .../vlc/gui/preferences/PreferencesAudio.kt        | 13 ++++----
 .../vlc/gui/preferences/PreferencesCasting.kt      | 11 +++++--
 .../vlc/gui/preferences/PreferencesSubtitles.kt    | 10 +++++--
 .../vlc/gui/preferences/PreferencesVideo.kt        |  9 ++++--
 .../vlc/gui/video/benchmark/BenchActivity.kt       | 10 +++++--
 14 files changed, 134 insertions(+), 68 deletions(-)

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


More information about the Android mailing list