Merge "MediaPlayer2: fix a regression from I5d4884353057a195b1f587694"
This commit is contained in:
committed by
Android (Google) Code Review
commit
5185bc79b1
@@ -1014,7 +1014,11 @@ android_media_MediaPlayer2_invoke(JNIEnv *env, jobject thiz, jbyteArray requestD
|
||||
PlayerMessage response;
|
||||
request.ParseFromArray(pData, pDataLen);
|
||||
|
||||
media_player->invoke(request, &response);
|
||||
process_media_player_call( env, thiz, media_player->invoke(request, &response),
|
||||
"java.lang.RuntimeException", NULL );
|
||||
if (env->ExceptionCheck()) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
int size = response.ByteSize();
|
||||
jbyte* temp = new jbyte[size];
|
||||
|
||||
Reference in New Issue
Block a user