[Android] Revert "Revert onHistoryChanged callback implementation"
Nicolas Pomepuy
git at videolan.org
Wed Sep 4 15:39:08 CEST 2019
vlc-android | branch: 3.2.x | Nicolas Pomepuy <nicolas.pomepuy at gmail.com> | Thu Aug 29 14:13:08 2019 +0200| [cfde19e1e5c38b3c2a9742b265a06bd5af92ebd5] | committer: Nicolas Pomepuy
Revert "Revert onHistoryChanged callback implementation"
This reverts commit 82d7d7d6
(cherry picked from commit fe0872aecdabe278ca64f3dde625dd493d486d70)
> https://code.videolan.org/videolan/vlc-android/commit/cfde19e1e5c38b3c2a9742b265a06bd5af92ebd5
---
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