[Android] medialibrary: Remove track added/deleted callbacks

Hugo Beauzée-Luyssen git at videolan.org
Tue Aug 14 17:46:36 CEST 2018


vlc-android | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Tue Aug 14 17:46:06 2018 +0200| [99ba31d3af4f1aa732a3cc4a00e76bc60c32ecf6] | committer: Hugo Beauzée-Luyssen

medialibrary: Remove track added/deleted callbacks

> https://code.videolan.org/videolan/vlc-android/commit/99ba31d3af4f1aa732a3cc4a00e76bc60c32ecf6
---

 medialibrary/jni/AndroidMediaLibrary.cpp | 9 ---------
 medialibrary/jni/AndroidMediaLibrary.h   | 3 ---
 2 files changed, 12 deletions(-)

diff --git a/medialibrary/jni/AndroidMediaLibrary.cpp b/medialibrary/jni/AndroidMediaLibrary.cpp
index a826f8300..66b15f5b7 100644
--- a/medialibrary/jni/AndroidMediaLibrary.cpp
+++ b/medialibrary/jni/AndroidMediaLibrary.cpp
@@ -595,15 +595,6 @@ void AndroidMediaLibrary::onAlbumsDeleted( std::vector<int64_t> ids )
 
 }
 
-void AndroidMediaLibrary::onTracksAdded( std::vector<medialibrary::AlbumTrackPtr> tracks )
-{
-
-}
-void AndroidMediaLibrary::onTracksDeleted( std::vector<int64_t> trackIds )
-{
-
-}
-
 void AndroidMediaLibrary::onDiscoveryStarted( const std::string& entryPoint )
 {
     ++m_nbDiscovery;
diff --git a/medialibrary/jni/AndroidMediaLibrary.h b/medialibrary/jni/AndroidMediaLibrary.h
index d3e7c51d5..d6e612a8c 100644
--- a/medialibrary/jni/AndroidMediaLibrary.h
+++ b/medialibrary/jni/AndroidMediaLibrary.h
@@ -102,9 +102,6 @@ public:
     void onAlbumsModified( std::vector<medialibrary::AlbumPtr> albums );
     void onAlbumsDeleted( std::vector<int64_t> ids );
 
-    void onTracksAdded( std::vector<medialibrary::AlbumTrackPtr> tracks );
-    void onTracksDeleted( std::vector<int64_t> trackIds );
-
     void onPlaylistsAdded( std::vector<medialibrary::PlaylistPtr> playlists );
     void onPlaylistsModified( std::vector<medialibrary::PlaylistPtr> playlist );
     void onPlaylistsDeleted( std::vector<int64_t> ids );



More information about the Android mailing list