[Android] Remove unnecessary uses of TextUtils methods in Kotlin code

Isira Seneviratne git at videolan.org
Thu Jul 9 15:00:15 CEST 2020


vlc-android | branch: master | Isira Seneviratne <isirasen96 at gmail.com> | Tue Jul  7 09:17:01 2020 +0530| [2368214c44fea3b86b67f5e428d58d4eb1141422] | committer: Nicolas Pomepuy

Remove unnecessary uses of TextUtils methods in Kotlin code

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

 .../java/org/videolan/resources/AndroidDevices.kt  |  9 ++-----
 .../org/videolan/television/ui/CardPresenter.kt    |  5 ++--
 .../television/ui/MediaItemDetailsFragment.kt      |  3 +--
 .../org/videolan/television/ui/SearchFragment.kt   |  5 ++--
 .../main/java/org/videolan/television/ui/TvUtil.kt |  7 +++---
 .../ui/audioplayer/AudioPlayerActivity.kt          |  3 +--
 .../database/helpers/SqliteDatabaseTestHelper.kt   |  3 +--
 .../src/org/videolan/vlc/ExternalMonitor.kt        |  3 +--
 .../src/org/videolan/vlc/MediaParsingService.kt    | 17 +++++++------
 .../src/org/videolan/vlc/PlaybackService.kt        |  3 +--
 .../src/org/videolan/vlc/StartActivity.kt          |  7 +++---
 .../src/org/videolan/vlc/StoragesMonitor.kt        |  8 +++----
 .../src/org/videolan/vlc/gui/DialogActivity.kt     |  6 ++---
 .../src/org/videolan/vlc/gui/SearchActivity.kt     |  3 +--
 .../org/videolan/vlc/gui/SearchResultAdapter.kt    |  3 +--
 .../videolan/vlc/gui/audio/EqualizerFragment.kt    | 11 ++++-----
 .../vlc/gui/browser/BaseBrowserFragment.kt         |  3 +--
 .../vlc/gui/browser/FileBrowserFragment.kt         |  3 +--
 .../videolan/vlc/gui/browser/FilePickerFragment.kt |  3 +--
 .../vlc/gui/dialogs/NetworkServerDialog.kt         | 27 ++++++++-------------
 .../videolan/vlc/gui/dialogs/VlcProgressDialog.kt  |  4 +---
 .../videolan/vlc/gui/network/MRLPanelFragment.kt   |  3 +--
 .../videolan/vlc/gui/preferences/PreferencesUi.kt  |  3 +--
 .../org/videolan/vlc/gui/video/VideoListAdapter.kt |  7 +++---
 .../videolan/vlc/gui/video/VideoPlayerActivity.kt  |  7 +++---
 .../videolan/vlc/gui/view/HeaderMediaSwitcher.kt   |  4 +---
 .../src/org/videolan/vlc/media/MediaUtils.kt       |  3 +--
 .../src/org/videolan/vlc/media/PlaylistManager.kt  |  3 +--
 .../videolan/vlc/providers/FileBrowserProvider.kt  |  3 +--
 .../org/videolan/vlc/providers/StorageProvider.kt  |  7 +++---
 .../videolan/vlc/repository/DirectoryRepository.kt |  7 +++---
 .../src/org/videolan/vlc/util/FileUtils.kt         | 28 ++++++++++------------
 .../src/org/videolan/vlc/util/ModelsHelper.kt      | 11 ++++-----
 .../org/videolan/vlc/util/ThumbnailsProvider.kt    |  5 ++--
 .../src/org/videolan/vlc/util/TvChannels.kt        |  3 +--
 .../src/org/videolan/vlc/util/VoiceSearchParams.kt |  8 +++----
 .../videolan/vlc/widget/VLCAppWidgetProvider.kt    |  2 +-
 37 files changed, 94 insertions(+), 146 deletions(-)

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


More information about the Android mailing list