[Android] MediaWrapper: expose insertionDate through jni

Duncan McNamara git at videolan.org
Mon May 15 12:09:54 UTC 2023


vlc-android | branch: master | Duncan McNamara <dcn.mcnamara at gmail.com> | Wed May 10 14:16:30 2023 +0200| [6113d68fa55c94429f3f5a9f8a4a03224a0c526d] | committer: Nicolas Pomepuy

MediaWrapper: expose insertionDate through jni

To fix sort by insertion date, and display appropriate headers in
browsers, the app will need access to it

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

 .../org/videolan/vlc/util/DummyMediaWrapperProvider.kt |  2 +-
 .../videolan/vlc/widget/MiniPlayerAppWidgetProvider.kt |  3 ++-
 medialibrary/jni/medialibrary.cpp                      |  2 +-
 medialibrary/jni/utils.cpp                             |  2 +-
 .../org/videolan/medialibrary/MLServiceLocator.java    | 15 +++++++++------
 .../medialibrary/interfaces/media/MediaWrapper.java    | 18 ++++++++++++------
 .../videolan/medialibrary/media/MediaWrapperImpl.java  | 10 ++++++----
 .../videolan/medialibrary/stubs/StubDataSource.java    | 12 +++++++-----
 .../videolan/medialibrary/stubs/StubMediaWrapper.java  | 10 ++++++----
 9 files changed, 45 insertions(+), 29 deletions(-)

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


More information about the Android mailing list