[Android] AndroidMediaLibrary: Implement onRescanStarted

Hugo Beauzée-Luyssen git at videolan.org
Thu Oct 17 15:46:36 CEST 2019


vlc-android | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Thu Oct 17 13:58:53 2019 +0200| [9c88015ae7ef3b4046481488de8e5e0f87060ae4] | committer: Hugo Beauzée-Luyssen

AndroidMediaLibrary: Implement onRescanStarted

> https://code.videolan.org/videolan/vlc-android/commit/9c88015ae7ef3b4046481488de8e5e0f87060ae4
---

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

diff --git a/medialibrary/jni/AndroidMediaLibrary.cpp b/medialibrary/jni/AndroidMediaLibrary.cpp
index 45d77106d..68880c685 100644
--- a/medialibrary/jni/AndroidMediaLibrary.cpp
+++ b/medialibrary/jni/AndroidMediaLibrary.cpp
@@ -897,6 +897,10 @@ void AndroidMediaLibrary::onHistoryChanged( medialibrary::HistoryType )
 {
 }
 
+void AndroidMediaLibrary::onRescanStarted()
+{
+}
+
 void AndroidMediaLibrary::onBackgroundTasksIdleChanged( bool isIdle )
 {
     JNIEnv *env = getEnv();
diff --git a/medialibrary/jni/AndroidMediaLibrary.h b/medialibrary/jni/AndroidMediaLibrary.h
index 6602d228a..9727f4d02 100644
--- a/medialibrary/jni/AndroidMediaLibrary.h
+++ b/medialibrary/jni/AndroidMediaLibrary.h
@@ -150,6 +150,7 @@ public:
     void onHistoryChanged( medialibrary::HistoryType historyType );
 
     bool onUnhandledException( const char* /* context */, const char* /* errMsg */, bool /* clearSuggested */ );
+    void onRescanStarted();
 
 private:
     void jni_detach_thread(void *data);



More information about the Android mailing list