From c1bcdbb75877d99972f1cd13a9c40126822621bc Mon Sep 17 00:00:00 2001 From: Vladimir Marko Date: Wed, 29 Oct 2014 20:34:15 +0000 Subject: [PATCH] Fix android_media_AudioSystem_getMasterMute return type. Caused FPU stack overflow on x86. Bug: 18023418 Change-Id: I0b8102cad5f5a883f615fa5dfa3017f56258a192 --- core/jni/android_media_AudioSystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/jni/android_media_AudioSystem.cpp b/core/jni/android_media_AudioSystem.cpp index 33bb90bcdb708..f09928979be4b 100644 --- a/core/jni/android_media_AudioSystem.cpp +++ b/core/jni/android_media_AudioSystem.cpp @@ -390,7 +390,7 @@ android_media_AudioSystem_setMasterMute(JNIEnv *env, jobject thiz, jboolean mute return (jint) check_AudioSystem_Command(AudioSystem::setMasterMute(mute)); } -static jfloat +static jboolean android_media_AudioSystem_getMasterMute(JNIEnv *env, jobject thiz) { bool mute;