[Android] AndroidMediaLibrary: Implement onRescanStarted
Hugo Beauzée-Luyssen
git at videolan.org
Mon Oct 21 11:44:10 CEST 2019
vlc-android | branch: 3.2.x | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Thu Oct 17 13:58:53 2019 +0200| [e5da5c009a5740f9052544926a8fc6bca685140a] | committer: Geoffrey Métais
AndroidMediaLibrary: Implement onRescanStarted
(cherry picked from commit 9c88015ae7ef3b4046481488de8e5e0f87060ae4)
> https://code.videolan.org/videolan/vlc-android/commit/e5da5c009a5740f9052544926a8fc6bca685140a
---
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