[Android] Implement the new ML API and the bump ML hash
Duncan McNamara
git at videolan.org
Thu Feb 22 13:29:25 UTC 2024
vlc-android | branch: master | Duncan McNamara <dcn.mcnamara at gmail.com> | Tue Feb 13 14:47:13 2024 +0100| [ba899e6653d0cfb134958313f6047b11cdc2bf2d] | committer: Nicolas Pomepuy
Implement the new ML API and the bump ML hash
- Bump Medialibrary Hash
- ML: refactor EntryPoint(s) to Root(s)
This is to follow the renaming that happened in the MediaLibrary
- ML: Update after ML API incoherence fix.
This concerns a confusion with Subscriptions and Services
and especially the cacheSize / cachedMedia which was messier before the
recent update.
Fixes #3027
> https://code.videolan.org/videolan/vlc-android/commit/ba899e6653d0cfb134958313f6047b11cdc2bf2d
---
.../vlc/gui/browser/MLStorageBrowserFragment.kt | 4 +-
.../vlc/gui/browser/StorageBrowserFragment.kt | 4 +-
.../vlc/gui/browser/StorageFragmentDelegate.kt | 24 ++---
buildsystem/compile-medialibrary.sh | 2 +-
medialibrary/jni/AndroidMediaLibrary.cpp | 58 ++++++------
medialibrary/jni/AndroidMediaLibrary.h | 28 +++---
medialibrary/jni/medialibrary.cpp | 100 ++++++++++----------
medialibrary/jni/utils.h | 8 +-
.../videolan/medialibrary/MedialibraryImpl.java | 44 ++++-----
.../interfaces/DevicesDiscoveryCb.java | 8 +-
.../interfaces/EntryPointsEventsCb.java | 13 ---
.../medialibrary/interfaces/Medialibrary.java | 104 ++++++++++-----------
.../medialibrary/interfaces/RootsEventsCb.java | 13 +++
.../medialibrary/interfaces/media/MlService.java | 4 +-
.../interfaces/media/Subscription.java | 4 +-
.../videolan/medialibrary/media/MlServiceImpl.java | 12 +--
.../medialibrary/media/SubscriptionImpl.java | 12 +--
.../medialibrary/stubs/StubMedialibrary.java | 4 +-
.../videolan/medialibrary/stubs/StubMlService.java | 4 +-
.../medialibrary/stubs/StubSubscription.java | 4 +-
20 files changed, 229 insertions(+), 225 deletions(-)
Diff: https://code.videolan.org/videolan/vlc-android/commit/ba899e6653d0cfb134958313f6047b11cdc2bf2d
More information about the Android
mailing list