[Android] libvlc: Media: return null instead of a translated value

Thomas Guillem git at videolan.org
Tue Dec 30 18:09:16 CET 2014


vlc-ports/android | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Dec 30 17:27:53 2014 +0100| [886eab98718fb156a5776e4b704c9c7ac7f6a3fc] | committer: Thomas Guillem

libvlc: Media: return null instead of a translated value

- libvlc shouldn't call vlc-android methods from introspection. Furthermore,
  getValueWrapper was not working since util.getValue() was gone.

- android-vlc shouldn't store translated values into database (what happens
  when user change language ?).

- bump DB_VERSION to 12 in order to remove translated values (and don't compare
  null with translated values).

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=886eab98718fb156a5776e4b704c9c7ac7f6a3fc
---

 libvlc/src/org/videolan/libvlc/Media.java          |  108 ++++----------------
 .../src/org/videolan/vlc/MediaDatabase.java        |   17 ++-
 .../src/org/videolan/vlc/audio/AudioService.java   |   43 ++++----
 .../src/org/videolan/vlc/gui/DirectoryAdapter.java |    2 +-
 .../src/org/videolan/vlc/gui/HistoryAdapter.java   |    3 +-
 .../vlc/gui/audio/AudioAlbumsSongsFragment.java    |    7 +-
 .../vlc/gui/audio/AudioBrowserFragment.java        |    5 +-
 .../vlc/gui/audio/AudioBrowserListAdapter.java     |   13 +--
 .../vlc/gui/audio/AudioPlaylistAdapter.java        |    2 +-
 .../src/org/videolan/vlc/gui/audio/AudioUtil.java  |    6 +-
 vlc-android/src/org/videolan/vlc/util/Util.java    |   53 ++++++++++
 11 files changed, 128 insertions(+), 131 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commitdiff;h=886eab98718fb156a5776e4b704c9c7ac7f6a3fc


More information about the Android mailing list