Revert "Added stub for the new invoke method."
This reverts commit f87322fee017cac2feb0d06ac3cc7fdb339165c3.
diff --git a/android/playerdriver.cpp b/android/playerdriver.cpp
index a56c8c7..0713246 100644
--- a/android/playerdriver.cpp
+++ b/android/playerdriver.cpp
@@ -26,7 +26,6 @@
#include <utils/threads.h>
#include <utils/List.h>
#include <cutils/properties.h>
-#include <binder/Parcel.h>
#include <media/MediaPlayerInterface.h>
@@ -1611,28 +1610,4 @@
return mPlayerDriver->enqueueCommand(new PlayerSetLoop(loop,0,0));
}
-// This is a stub for the direct invocation API.
-// From include/media/MediaPlayerInterface.h where the abstract method
-// is declared:
-//
-// Invoke a generic method on the player by using opaque parcels
-// for the request and reply.
-// @param request Parcel that must start with the media player
-// interface token.
-// @param[out] reply Parcel to hold the reply data. Cannot be null.
-// @return OK if the invocation was made successfully.
-//
-// This stub should be replaced with a concrete implementation.
-//
-// Typically the request parcel will contain an opcode to identify an
-// operation to be executed. There might also be a handle used to
-// create a session between the client and the player.
-//
-// The concrete implementation can then dispatch the request
-// internally based on the double (opcode, handle).
-status_t PVPlayer::invoke(const Parcel& request, Parcel *reply)
-{
- return INVALID_OPERATION;
-}
-
}; // namespace android