Bug 611899 - SetFullscreen called with wrong JNI method, r=blassey a=blocking-fennec
authorMichael Wu <mwu@mozilla.com>
Tue, 16 Nov 2010 14:27:21 -0800
changeset 57605 a0121e631a2835bf03fdd85b2b85ee7c48bf9ad2
parent 57604 c708054e1f65aa76838faa19e4be2afdde22ca69
child 57606 e4be53fa74aa48e5f5d1d13b2039a586b759b45d
push id1
push usershaver@mozilla.com
push dateTue, 04 Jan 2011 17:58:04 +0000
reviewersblassey, blocking-fennec
bugs611899
milestone2.0b8pre
Bug 611899 - SetFullscreen called with wrong JNI method, r=blassey a=blocking-fennec
widget/src/android/AndroidBridge.cpp
--- a/widget/src/android/AndroidBridge.cpp
+++ b/widget/src/android/AndroidBridge.cpp
@@ -517,17 +517,17 @@ AndroidBridge::ShowFilePicker(nsAString&
                                              mGeckoAppShellClass,
                                              jShowFilePicker, jstrFilers));
     aFilePath.Assign(nsJNIString(jstr));
 }
 
 void
 AndroidBridge::SetFullScreen(PRBool aFullScreen)
 {
-    mJNIEnv->CallStaticIntMethod(mGeckoAppShellClass, jSetFullScreen, aFullScreen);
+    mJNIEnv->CallStaticVoidMethod(mGeckoAppShellClass, jSetFullScreen, aFullScreen);
 }
 
 void
 AndroidBridge::HideProgressDialogOnce()
 {
     static bool once = false;
     if (!once) {
         mJNIEnv->CallStaticVoidMethod(mGeckoAppShellClass, jHideProgressDialog);