[Android] Settings keys refactoring

Geoffrey Métais git at videolan.org
Fri May 17 14:32:09 CEST 2019


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Fri May 17 12:10:31 2019 +0200| [5d55932e39d40e87010e9ad04f8dc911a3a24971] | committer: Geoffrey Métais

Settings keys refactoring

Fix #874

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

 .../java/org/videolan/tools/SingletonHolder.kt     |  4 +-
 vlc-android/res/xml/preferences_video.xml          |  9 ---
 .../src/org/videolan/vlc/ExternalMonitor.kt        |  2 +-
 .../src/org/videolan/vlc/MediaParsingService.kt    |  2 +-
 .../src/org/videolan/vlc/PlaybackService.kt        |  4 +-
 vlc-android/src/org/videolan/vlc/VLCApplication.kt | 25 ++++----
 .../vlc/gui/AudioPlayerContainerActivity.kt        |  2 +-
 .../src/org/videolan/vlc/gui/BaseActivity.kt       | 22 +------
 .../src/org/videolan/vlc/gui/MainActivity.kt       | 14 ++--
 .../src/org/videolan/vlc/gui/SearchActivity.kt     |  8 +--
 .../src/org/videolan/vlc/gui/SecondaryActivity.kt  |  4 +-
 .../videolan/vlc/gui/audio/AudioBrowserFragment.kt |  8 +--
 .../videolan/vlc/gui/browser/BaseBrowserAdapter.kt |  3 +-
 .../vlc/gui/browser/StorageBrowserFragment.kt      |  2 +-
 .../org/videolan/vlc/gui/dialogs/VlcLoginDialog.kt | 10 +--
 .../org/videolan/vlc/gui/helpers/ImageLoader.kt    |  3 +-
 .../vlc/gui/helpers/PlayerOptionsDelegate.kt       | 13 ++--
 .../src/org/videolan/vlc/gui/helpers/UiTools.kt    | 18 ++++++
 .../videolan/vlc/gui/network/MRLPanelFragment.kt   |  4 +-
 .../vlc/gui/onboarding/OnboardingActivity.kt       |  5 +-
 .../vlc/gui/preferences/PreferencesActivity.kt     | 48 ++------------
 .../vlc/gui/preferences/PreferencesAudio.kt        |  3 +-
 .../vlc/gui/preferences/PreferencesFragment.kt     | 21 ++----
 .../videolan/vlc/gui/preferences/PreferencesUi.kt  | 28 ++++----
 .../vlc/gui/preferences/PreferencesVideo.kt        | 26 +++-----
 .../src/org/videolan/vlc/gui/tv/MainTvActivity.kt  | 11 ++--
 .../vlc/gui/tv/preferences/PreferencesActivity.kt  | 14 +---
 .../vlc/gui/tv/preferences/PreferencesAudio.kt     |  3 +-
 .../vlc/gui/tv/preferences/PreferencesFragment.kt  | 50 +++++----------
 .../vlc/gui/tv/preferences/PreferencesUi.kt        | 13 ++--
 .../vlc/gui/tv/preferences/PreferencesVideo.kt     | 32 +++++-----
 .../src/org/videolan/vlc/gui/video/PopupManager.kt |  5 +-
 .../videolan/vlc/gui/video/VideoGridFragment.kt    | 14 ++--
 .../videolan/vlc/gui/video/VideoPlayerActivity.kt  | 46 +++++++-------
 .../gui/view/RecyclerSectionItemGridDecoration.kt  |  4 +-
 .../videolan/vlc/media/MediaSessionBrowser.java    |  4 +-
 .../src/org/videolan/vlc/media/PlayerController.kt |  8 +--
 .../src/org/videolan/vlc/media/PlaylistManager.kt  | 14 ++--
 .../org/videolan/vlc/providers/NetworkProvider.kt  |  4 +-
 .../src/org/videolan/vlc/util/AndroidDevices.kt    |  4 --
 vlc-android/src/org/videolan/vlc/util/Constants.kt | 10 ---
 .../src/org/videolan/vlc/util/Kextensions.kt       |  5 +-
 vlc-android/src/org/videolan/vlc/util/Settings.kt  | 74 ++++++++++++++++++++++
 .../org/videolan/vlc/util/VLCAudioFocusHelper.kt   |  4 +-
 .../org/videolan/vlc/viewmodels/tv/MainTvModel.kt  |  3 +-
 45 files changed, 281 insertions(+), 329 deletions(-)

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


More information about the Android mailing list