[Android] MediaLibrary: Rename onMediaUpdated -> onMediaModified
Hugo Beauzée-Luyssen
git at videolan.org
Thu Aug 16 16:16:25 CEST 2018
vlc-android | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Thu Aug 16 16:15:47 2018 +0200| [a60e6c20275b21de763df538f1f2d815202ebda0] | committer: Hugo Beauzée-Luyssen
MediaLibrary: Rename onMediaUpdated -> onMediaModified
> https://code.videolan.org/videolan/vlc-android/commit/a60e6c20275b21de763df538f1f2d815202ebda0
---
medialibrary/jni/AndroidMediaLibrary.cpp | 2 +-
medialibrary/jni/AndroidMediaLibrary.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/medialibrary/jni/AndroidMediaLibrary.cpp b/medialibrary/jni/AndroidMediaLibrary.cpp
index 66b15f5b7..350fb9df7 100644
--- a/medialibrary/jni/AndroidMediaLibrary.cpp
+++ b/medialibrary/jni/AndroidMediaLibrary.cpp
@@ -461,7 +461,7 @@ AndroidMediaLibrary::onMediaAdded( std::vector<medialibrary::MediaPtr> mediaList
}
}
-void AndroidMediaLibrary::onMediaUpdated( std::vector<medialibrary::MediaPtr> mediaList )
+void AndroidMediaLibrary::onMediaModified( std::vector<medialibrary::MediaPtr> mediaList )
{
if (m_mediaUpdatedType & FLAG_MEDIA_UPDATED_AUDIO || m_mediaUpdatedType & FLAG_MEDIA_UPDATED_VIDEO
|| m_mediaUpdatedType & FLAG_MEDIA_UPDATED_AUDIO_EMPTY) {
diff --git a/medialibrary/jni/AndroidMediaLibrary.h b/medialibrary/jni/AndroidMediaLibrary.h
index d6e612a8c..ae3f24947 100644
--- a/medialibrary/jni/AndroidMediaLibrary.h
+++ b/medialibrary/jni/AndroidMediaLibrary.h
@@ -91,7 +91,7 @@ public:
void requestThumbnail( int64_t media_id );
void onMediaAdded( std::vector<medialibrary::MediaPtr> media );
- void onMediaUpdated( std::vector<medialibrary::MediaPtr> media ) ;
+ void onMediaModified( std::vector<medialibrary::MediaPtr> media ) ;
void onMediaDeleted( std::vector<int64_t> ids ) ;
void onArtistsAdded( std::vector<medialibrary::ArtistPtr> artists ) ;
More information about the Android
mailing list