[Android] Move Settings to tools module

Geoffrey Métais git at videolan.org
Fri Dec 27 12:17:05 CET 2019


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Dec 26 20:21:13 2019 +0100| [67d39a97c4c88c8ea0ff70e1ae8e1a3444e92631] | committer: Geoffrey Métais

Move Settings to tools module

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

 tools/build.gradle                                 |  1 +
 .../src/main/java/org/videolan/tools}/Settings.kt  | 37 +++++++++++++++++-----
 .../org/videolan/vlc/database/MigrationTest.kt     |  2 +-
 .../vlc/gui/browser/FileBrowserFragmentUITest.kt   |  2 +-
 .../vlc/gui/preferences/BasePreferenceUITest.kt    |  2 +-
 .../vlc/gui/preferences/PreferencesAudioUITest.kt  |  4 +--
 .../gui/preferences/PreferencesFragmentUITest.kt   |  6 ++--
 .../vlc/gui/preferences/PreferencesUIUITest.kt     |  1 +
 .../vlc/gui/preferences/PreferencesVideoUITest.kt  |  1 +
 vlc-android/build.gradle                           |  1 -
 .../src/org/videolan/vlc/ExternalMonitor.kt        |  3 ++
 .../src/org/videolan/vlc/MediaParsingService.kt    |  4 +++
 .../src/org/videolan/vlc/PlaybackService.kt        |  1 +
 vlc-android/src/org/videolan/vlc/StartActivity.kt  |  2 ++
 vlc-android/src/org/videolan/vlc/VLCApplication.kt |  1 +
 .../src/org/videolan/vlc/database/Migrations.kt    |  2 +-
 .../videolan/vlc/extensions/ExtensionsManager.java |  2 +-
 .../vlc/gui/AudioPlayerContainerActivity.kt        |  2 ++
 .../src/org/videolan/vlc/gui/BaseActivity.kt       |  2 +-
 .../src/org/videolan/vlc/gui/ContentActivity.kt    |  2 +-
 .../src/org/videolan/vlc/gui/MainActivity.kt       |  1 +
 .../src/org/videolan/vlc/gui/PlaylistFragment.kt   |  2 +-
 .../src/org/videolan/vlc/gui/SecondaryActivity.kt  |  2 ++
 .../vlc/gui/audio/AudioAlbumsSongsFragment.kt      |  2 +-
 .../videolan/vlc/gui/audio/AudioBrowserAdapter.kt  |  2 +-
 .../videolan/vlc/gui/audio/AudioBrowserFragment.kt |  3 ++
 .../src/org/videolan/vlc/gui/audio/AudioPlayer.kt  |  4 +--
 .../videolan/vlc/gui/audio/AudioPlayerAnimator.kt  |  2 +-
 .../videolan/vlc/gui/audio/EqualizerFragment.kt    |  2 +-
 .../videolan/vlc/gui/browser/BaseBrowserAdapter.kt |  2 +-
 .../vlc/gui/browser/BaseBrowserFragment.kt         |  1 +
 .../vlc/gui/browser/StorageBrowserFragment.kt      |  3 ++
 .../vlc/gui/dialogs/SubtitleDownloadFragment.kt    |  2 +-
 .../gui/dialogs/VLCBottomSheetDialogFragment.kt    |  2 +-
 .../org/videolan/vlc/gui/dialogs/VlcLoginDialog.kt |  4 +--
 .../org/videolan/vlc/gui/helpers/ImageLoader.kt    |  1 +
 .../src/org/videolan/vlc/gui/helpers/Navigator.kt  |  2 ++
 .../vlc/gui/helpers/PlayerOptionsDelegate.kt       |  1 +
 .../src/org/videolan/vlc/gui/helpers/UiTools.kt    |  2 ++
 .../vlc/gui/helpers/hf/WriteExternalDelegate.kt    |  2 +-
 .../videolan/vlc/gui/network/MRLPanelFragment.kt   |  1 +
 .../vlc/gui/onboarding/OnboardingActivity.kt       |  1 +
 .../gui/onboarding/OnboardingScanningFragment.kt   |  8 ++---
 .../vlc/gui/preferences/PreferencesActivity.kt     |  6 ++--
 .../vlc/gui/preferences/PreferencesAudio.kt        |  4 +--
 .../preferences/PreferencesExtensionFragment.kt    |  2 +-
 .../vlc/gui/preferences/PreferencesExtensions.kt   |  2 +-
 .../vlc/gui/preferences/PreferencesFragment.kt     |  4 +--
 .../videolan/vlc/gui/preferences/PreferencesUi.kt  |  1 +
 .../vlc/gui/preferences/PreferencesVideo.kt        |  4 +--
 .../src/org/videolan/vlc/gui/tv/CardPresenter.kt   |  1 +
 .../src/org/videolan/vlc/gui/tv/MainTvActivity.kt  |  3 ++
 .../vlc/gui/tv/audioplayer/AudioPlayerActivity.kt  |  2 +-
 .../videolan/vlc/gui/tv/browser/BaseTvActivity.kt  |  2 +-
 .../vlc/gui/tv/browser/MediaBrowserTvFragment.kt   |  2 ++
 .../vlc/gui/tv/preferences/PreferencesActivity.kt  |  6 ++--
 .../vlc/gui/tv/preferences/PreferencesAudio.kt     |  4 +--
 .../vlc/gui/tv/preferences/PreferencesFragment.kt  |  3 ++
 .../vlc/gui/tv/preferences/PreferencesUi.kt        |  1 +
 .../vlc/gui/tv/preferences/PreferencesVideo.kt     |  1 +
 .../src/org/videolan/vlc/gui/video/PopupManager.kt |  3 ++
 .../videolan/vlc/gui/video/VideoGridFragment.kt    |  2 ++
 .../vlc/gui/video/benchmark/BenchActivity.kt       |  2 +-
 .../org/videolan/vlc/gui/view/HalfCircleView.kt    |  2 +-
 .../gui/view/RecyclerSectionItemGridDecoration.kt  |  2 +-
 .../videolan/vlc/media/MediaSessionBrowser.java    |  4 +--
 .../src/org/videolan/vlc/media/PlayerController.kt |  3 ++
 .../src/org/videolan/vlc/media/PlaylistManager.kt  |  2 ++
 .../org/videolan/vlc/providers/BrowserProvider.kt  |  1 +
 .../videolan/vlc/providers/MoviepediaProvider.kt   |  2 +-
 .../org/videolan/vlc/providers/NetworkProvider.kt  |  2 +-
 .../vlc/providers/medialibrary/AlbumsProvider.kt   |  2 +-
 .../providers/medialibrary/MedialibraryProvider.kt |  2 +-
 .../vlc/providers/medialibrary/TracksProvider.kt   |  2 +-
 vlc-android/src/org/videolan/vlc/util/FileUtils.kt |  1 +
 .../src/org/videolan/vlc/util/Kextensions.kt       |  5 ++-
 .../src/org/videolan/vlc/util/Permissions.kt       |  1 +
 .../src/org/videolan/vlc/util/SettingsMigration.kt |  4 +++
 .../src/org/videolan/vlc/util/TvChannels.kt        |  1 +
 .../org/videolan/vlc/util/VLCAudioFocusHelper.kt   |  2 ++
 .../src/org/videolan/vlc/util/VLCOptions.kt        |  1 +
 .../org/videolan/vlc/viewmodels/SortableModel.kt   |  2 +-
 .../org/videolan/vlc/viewmodels/SubtitlesModel.kt  |  2 +-
 .../vlc/viewmodels/mobile/AlbumSongsViewModel.kt   |  2 +-
 .../vlc/viewmodels/mobile/AudioBrowserViewModel.kt |  4 +--
 .../vlc/viewmodels/mobile/PlaylistsViewModel.kt    |  2 +-
 .../vlc/viewmodels/mobile/VideosViewModel.kt       |  4 +--
 .../org/videolan/vlc/viewmodels/tv/MainTvModel.kt  |  2 ++
 88 files changed, 165 insertions(+), 77 deletions(-)

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


More information about the Android mailing list