From a64c8c79af1a15911c55306d83a797fa50969f77 Mon Sep 17 00:00:00 2001 From: niko Date: Mon, 20 Jul 2009 15:07:26 -0700 Subject: Added native metadata support. Metadata.java: Fixed typo 8k != 8092. The comment was correct though. In Metadata.h, the new Metadata class is declared in the ns android::media to limit the chances of conflict with other packages. The MetadataType in MediaPlayerInterface is gone and moved to Metadata as an inner typedef. Similarly the SortedVector instance have been replace by a new type Metadata::Filter. All the keys declared in the java counterpart are also in Metadata.h. Metadata.cpp: Contains the implementation of the native metadata packing. There an associated change in the opencore package that should go in at the same time as this one. --- media/libmediaplayerservice/TestPlayerStub.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'media/libmediaplayerservice/TestPlayerStub.h') diff --git a/media/libmediaplayerservice/TestPlayerStub.h b/media/libmediaplayerservice/TestPlayerStub.h index 339b108..80d53a8 100644 --- a/media/libmediaplayerservice/TestPlayerStub.h +++ b/media/libmediaplayerservice/TestPlayerStub.h @@ -94,10 +94,6 @@ class TestPlayerStub : public MediaPlayerInterface { virtual status_t invoke(const android::Parcel& in, android::Parcel *out) { return mPlayer->invoke(in, out); } - virtual status_t getMetadata(const SortedVector& ids, - Parcel *records) { - return INVALID_OPERATION; - } // @return true if the current build is 'eng' or 'test' and the -- cgit v1.1