[Android] Fix some gradle issues + add a safety net to the context in AppInstance

Nicolas Pomepuy git at videolan.org
Tue Jan 14 11:00:22 CET 2020


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Mon Jan 13 14:35:42 2020 +0100| [a8789baee6c3ad2d64f98f19a94c260f78079227] | committer: Nicolas Pomepuy

Fix some gradle issues + add a safety net to the context in AppInstance

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

 mediadb/build.gradle                               | 12 ++++-----
 .../java/org/videolan/vlc/mediadb/Migrations.kt    |  4 +--
 .../java/org/videolan/resources/AndroidDevices.kt  |  2 +-
 .../{AppInstance.kt => AppContextProvider.kt}      | 30 ++++++++++++++++++++--
 .../src/org/videolan/vlc/ExternalMonitor.kt        |  6 ++---
 .../src/org/videolan/vlc/PlaybackService.kt        |  2 +-
 .../src/org/videolan/vlc/RendererDelegate.kt       |  4 +--
 vlc-android/src/org/videolan/vlc/VLCApplication.kt | 27 ++++++-------------
 .../src/org/videolan/vlc/VLCCrashHandler.kt        |  6 ++---
 .../org/videolan/vlc/api/OpenSubtitleService.kt    |  4 +--
 .../src/org/videolan/vlc/gui/SendCrashActivity.kt  |  6 ++---
 .../videolan/vlc/gui/audio/AudioBrowserAdapter.kt  |  4 +--
 .../src/org/videolan/vlc/gui/audio/AudioPlayer.kt  |  3 +--
 .../videolan/vlc/gui/audio/EqualizerFragment.kt    | 13 +++++-----
 .../org/videolan/vlc/gui/audio/PlaylistAdapter.kt  | 11 ++++----
 .../src/org/videolan/vlc/gui/helpers/AudioUtil.kt  |  6 ++---
 .../src/org/videolan/vlc/gui/helpers/BitmapUtil.kt |  4 +--
 .../org/videolan/vlc/gui/helpers/ImageLoader.kt    |  4 +--
 .../videolan/vlc/gui/helpers/MedialibraryUtils.kt  |  2 +-
 .../src/org/videolan/vlc/gui/helpers/UiTools.kt    |  4 +--
 .../src/org/videolan/vlc/gui/tv/CardPresenter.kt   | 12 ++++-----
 .../videolan/vlc/gui/video/VideoPlayerActivity.kt  |  2 +-
 .../videolan/vlc/media/MediaSessionBrowser.java    |  4 +--
 .../src/org/videolan/vlc/media/MediaUtils.kt       |  8 +++---
 .../src/org/videolan/vlc/media/PlaylistManager.kt  |  2 +-
 vlc-android/src/org/videolan/vlc/util/FileUtils.kt | 12 ++++-----
 .../src/org/videolan/vlc/util/FilterDelegate.kt    | 10 ++++----
 .../src/org/videolan/vlc/util/Permissions.kt       |  6 ++---
 .../org/videolan/vlc/util/ThumbnailsProvider.kt    |  8 +++---
 vlc-android/src/org/videolan/vlc/util/Util.kt      |  4 +--
 .../org/videolan/vlc/util/VLCDownloadManager.kt    | 10 ++++----
 .../src/org/videolan/vlc/util/VLCInstance.kt       |  4 +--
 .../src/org/videolan/vlc/util/VLCOptions.kt        |  4 +--
 33 files changed, 124 insertions(+), 116 deletions(-)

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


More information about the Android mailing list