[Android] Revert "Revert onHistoryChanged callback implementation"
Nicolas Pomepuy
git at videolan.org
Wed Sep 4 13:54:42 CEST 2019
vlc-android | branch: master | Nicolas Pomepuy <nicolas.pomepuy at gmail.com> | Thu Aug 29 14:13:08 2019 +0200| [fe0872aecdabe278ca64f3dde625dd493d486d70] | committer: Nicolas Pomepuy
Revert "Revert onHistoryChanged callback implementation"
This reverts commit 82d7d7d6
> https://code.videolan.org/videolan/vlc-android/commit/fe0872aecdabe278ca64f3dde625dd493d486d70
---
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 80faaf009..8b45eae63 100644
--- a/medialibrary/jni/AndroidMediaLibrary.cpp
+++ b/medialibrary/jni/AndroidMediaLibrary.cpp
@@ -890,6 +890,10 @@ void AndroidMediaLibrary::onParsingStatsUpdated( uint32_t percent)
}
}
+void AndroidMediaLibrary::onHistoryChanged( medialibrary::HistoryType )
+{
+}
+
void AndroidMediaLibrary::onBackgroundTasksIdleChanged( bool isIdle )
{
JNIEnv *env = getEnv();
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