[Android] medialibrary: Update to recent API changes

Hugo Beauzée-Luyssen git at videolan.org
Tue Jul 30 16:52:05 CEST 2019


vlc-android | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Tue Jul 30 11:10:41 2019 +0200| [64dda7d1db148b8fbaf9dd751cec29ff30134408] | committer: Geoffrey Métais

medialibrary: Update to recent API changes

> https://code.videolan.org/videolan/vlc-android/commit/64dda7d1db148b8fbaf9dd751cec29ff30134408
---

 medialibrary/jni/AndroidMediaLibrary.cpp | 3 +++
 medialibrary/jni/AndroidMediaLibrary.h   | 1 +
 2 files changed, 4 insertions(+)

diff --git a/medialibrary/jni/AndroidMediaLibrary.cpp b/medialibrary/jni/AndroidMediaLibrary.cpp
index 141164fe2..8b45eae63 100644
--- a/medialibrary/jni/AndroidMediaLibrary.cpp
+++ b/medialibrary/jni/AndroidMediaLibrary.cpp
@@ -890,6 +890,9 @@ void AndroidMediaLibrary::onParsingStatsUpdated( uint32_t percent)
     }
 }
 
+void AndroidMediaLibrary::onHistoryChanged( medialibrary::HistoryType )
+{
+}
 
 void AndroidMediaLibrary::onBackgroundTasksIdleChanged( bool isIdle )
 {
diff --git a/medialibrary/jni/AndroidMediaLibrary.h b/medialibrary/jni/AndroidMediaLibrary.h
index 2c9780c74..7eced7c62 100644
--- a/medialibrary/jni/AndroidMediaLibrary.h
+++ b/medialibrary/jni/AndroidMediaLibrary.h
@@ -141,6 +141,7 @@ public:
     void onBackgroundTasksIdleChanged( bool isIdle );
     void onMediaThumbnailReady(medialibrary::MediaPtr media, medialibrary::ThumbnailSizeType sizeType,
                                bool success );
+    void onHistoryChanged( medialibrary::HistoryType historyType );
 
 private:
     void jni_detach_thread(void *data);



More information about the Android mailing list