[Android] Refactor Android version checks as final variables

Geoffrey Métais git at videolan.org
Thu Mar 16 13:10:30 CET 2017


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Mar 16 11:59:59 2017 +0100| [59767caaeaf7f0e90ad80c1e46c9570311972784] | committer: Geoffrey Métais

Refactor Android version checks as final variables

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

 libvlc/src/org/videolan/libvlc/AWindow.java        |  8 ++--
 libvlc/src/org/videolan/libvlc/LibVLC.java         |  2 +-
 libvlc/src/org/videolan/libvlc/Media.java          |  2 +-
 libvlc/src/org/videolan/libvlc/MediaPlayer.java    | 14 +++---
 .../src/org/videolan/libvlc/util/AndroidUtil.java  | 54 +++++-----------------
 .../org/videolan/libvlc/util/HWDecoderUtil.java    |  4 +-
 vlc-android/res/layout/vlc_login_dialog.xml        |  2 +-
 .../src/org/videolan/vlc/PlaybackService.java      |  2 +-
 .../src/org/videolan/vlc/StartActivity.java        |  2 +-
 .../src/org/videolan/vlc/VLCApplication.java       |  2 +-
 .../src/org/videolan/vlc/gui/HistoryFragment.java  |  7 ++-
 .../org/videolan/vlc/gui/audio/AudioPlayer.java    |  8 ++--
 .../vlc/gui/browser/BaseBrowserAdapter.java        |  2 +-
 .../vlc/gui/browser/BaseBrowserFragment.java       | 10 ++--
 .../vlc/gui/browser/FileBrowserFragment.java       |  2 +-
 .../videolan/vlc/gui/dialogs/AdvOptionsDialog.java |  2 +-
 .../org/videolan/vlc/gui/helpers/BitmapCache.java  |  2 +-
 .../org/videolan/vlc/gui/helpers/BitmapUtil.java   |  2 +-
 .../gui/preferences/BasePreferenceFragment.java    |  2 +-
 .../vlc/gui/preferences/PreferencesAdvanced.java   |  2 +-
 .../vlc/gui/preferences/PreferencesSubtitles.java  |  2 +-
 .../vlc/gui/preferences/PreferencesUi.java         |  2 +-
 .../gui/tv/preferences/PreferencesAdvanced.java    |  2 +-
 .../gui/tv/preferences/PreferencesSubtitles.java   |  2 +-
 .../videolan/vlc/gui/video/VideoGridFragment.java  |  9 ++--
 .../vlc/gui/video/VideoPlayerActivity.java         | 44 +++++++++---------
 .../org/videolan/vlc/gui/view/FastScroller.java    |  2 +-
 .../src/org/videolan/vlc/gui/view/PopupLayout.java |  4 +-
 .../src/org/videolan/vlc/util/AndroidDevices.java  |  4 +-
 .../src/org/videolan/vlc/util/FileUtils.java       |  6 +--
 .../src/org/videolan/vlc/util/Permissions.java     | 12 ++---
 .../org/videolan/vlc/util/SubtitlesDownloader.java |  2 +-
 .../src/org/videolan/vlc/util/VLCOptions.java      |  2 +-
 .../org/videolan/vlc/util/VoiceSearchParams.java   |  2 +-
 .../videolan/vlc/widget/VLCAppWidgetProvider.java  |  4 +-
 35 files changed, 95 insertions(+), 135 deletions(-)

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


More information about the Android mailing list