[Android] Migrate root classes to kotlin

Nicolas Pomepuy git at videolan.org
Fri Apr 26 12:45:56 CEST 2019


vlc-android | branch: master | Nicolas Pomepuy <nicolas.pomepuy at gmail.com> | Thu Apr 18 14:00:54 2019 +0200| [15d6d805d655caa2b083e35ba8389796923d4ad0] | committer: Geoffrey Métais

Migrate root classes to kotlin

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

 .../org/videolan/vlc/database/MigrationTest.kt     |   2 +-
 .../src/org/videolan/vlc/DebugLogService.java      | 393 ---------------------
 .../src/org/videolan/vlc/DebugLogService.kt        | 372 +++++++++++++++++++
 .../src/org/videolan/vlc/ExternalMonitor.kt        |  10 +-
 .../src/org/videolan/vlc/PlaybackService.kt        |   4 +-
 .../src/org/videolan/vlc/RecommendationsService.kt |   2 +-
 .../src/org/videolan/vlc/RendererDelegate.kt       |   2 +-
 .../src/org/videolan/vlc/StartActivity.java        | 176 ---------
 vlc-android/src/org/videolan/vlc/StartActivity.kt  | 171 +++++++++
 vlc-android/src/org/videolan/vlc/TvReceiver.java   |  87 -----
 vlc-android/src/org/videolan/vlc/TvReceiver.kt     |  89 +++++
 .../src/org/videolan/vlc/VLCApplication.java       | 239 -------------
 vlc-android/src/org/videolan/vlc/VLCApplication.kt | 221 ++++++++++++
 .../src/org/videolan/vlc/VLCCrashHandler.java      |   4 +-
 .../src/org/videolan/vlc/database/Migrations.kt    |   2 +-
 .../src/org/videolan/vlc/gui/InfoActivity.kt       |   2 +-
 .../src/org/videolan/vlc/gui/MainActivity.kt       |   2 +-
 .../src/org/videolan/vlc/gui/PlaylistActivity.kt   |   2 +-
 .../src/org/videolan/vlc/gui/SearchActivity.kt     |   2 +-
 .../src/org/videolan/vlc/gui/SecondaryActivity.kt  |   2 +-
 .../src/org/videolan/vlc/gui/audio/AudioPlayer.kt  |   2 +-
 .../videolan/vlc/gui/audio/EqualizerFragment.kt    |   6 +-
 .../org/videolan/vlc/gui/audio/PlaylistAdapter.kt  |   4 +-
 .../vlc/gui/browser/MediaBrowserFragment.kt        |   2 +-
 .../vlc/gui/browser/NetworkBrowserFragment.kt      |   4 +-
 .../vlc/gui/browser/StorageBrowserAdapter.kt       |   4 +-
 .../vlc/gui/browser/StorageBrowserFragment.kt      |   4 +-
 .../videolan/vlc/gui/dialogs/SavePlaylistDialog.kt |   2 +-
 .../src/org/videolan/vlc/gui/helpers/AudioUtil.kt  |   4 +-
 .../src/org/videolan/vlc/gui/helpers/BitmapUtil.kt |   2 +-
 .../org/videolan/vlc/gui/helpers/ImageLoader.kt    |   4 +-
 .../videolan/vlc/gui/helpers/MedialibraryUtils.kt  |   4 +-
 .../vlc/gui/helpers/PlayerOptionsDelegate.kt       |   2 +-
 .../src/org/videolan/vlc/gui/helpers/UiTools.kt    |   6 +-
 .../vlc/gui/preferences/PreferencesAdvanced.kt     |   4 +-
 .../vlc/gui/preferences/PreferencesFragment.kt     |   2 +-
 .../src/org/videolan/vlc/gui/tv/CardPresenter.kt   |   4 +-
 vlc-android/src/org/videolan/vlc/gui/tv/TvUtil.kt  |   4 +-
 .../videolan/vlc/gui/tv/browser/BaseTvActivity.kt  |   2 +-
 .../vlc/gui/tv/browser/NetworkBrowserFragment.java |   4 +-
 .../vlc/gui/tv/preferences/PreferencesAdvanced.kt  |   2 +-
 .../vlc/gui/tv/preferences/PreferencesFragment.kt  |   2 +-
 .../videolan/vlc/gui/video/VideoPlayerActivity.kt  |   4 +-
 .../videolan/vlc/media/MediaSessionBrowser.java    |   2 +-
 .../src/org/videolan/vlc/media/MediaUtils.kt       |   6 +-
 .../src/org/videolan/vlc/media/PlaylistManager.kt  |   2 +-
 .../src/org/videolan/vlc/util/AndroidDevices.java  |   2 +-
 vlc-android/src/org/videolan/vlc/util/FileUtils.kt |  12 +-
 .../src/org/videolan/vlc/util/FilterDelegate.kt    |   8 +-
 .../src/org/videolan/vlc/util/Kextensions.kt       |   4 +-
 .../src/org/videolan/vlc/util/Permissions.kt       |   4 +-
 .../org/videolan/vlc/util/ThumbnailsProvider.kt    |   6 +-
 vlc-android/src/org/videolan/vlc/util/Util.kt      |   4 +-
 .../org/videolan/vlc/util/VLCDownloadManager.kt    |   8 +-
 .../src/org/videolan/vlc/util/VLCInstance.kt       |   2 +-
 .../src/org/videolan/vlc/util/VLCOptions.kt        |   2 +-
 56 files changed, 941 insertions(+), 983 deletions(-)

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


More information about the Android mailing list