MediaPlayer2: use protobuf instead of parcel in invoke()
Also fix MEDIA_INFO handling code to send the event to the client
after handling internal update. (This fixes several cts test cases.)
Test: pass MediaPlayer2Test
Bug: 63934228
Change-Id: I5d4884353057a195b1f587694bfbf66cdf1fd23c
diff --git a/Android.bp b/Android.bp
index 07b3018..eeede0f 100644
--- a/Android.bp
+++ b/Android.bp
@@ -679,6 +679,7 @@
static_libs: [
"framework-protos",
+ "mediaplayer2-protos",
"android.hidl.base-V1.0-java",
"android.hardware.cas-V1.0-java",
"android.hardware.contexthub-V1.0-java",