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 id17004
push usermwu@mozilla.com
push dateTue, 16 Nov 2010 22:32:53 +0000
treeherdermozilla-central@f295e68ed58e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersblassey, blocking-fennec
bugs611899
milestone2.0b8pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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);