Bug 1192077 - Convert AndroidBridge JNIEnv calls; r=esawin

This commit is contained in:
Jim Chen
2015-08-13 00:53:39 -04:00
parent fc0d866bbd
commit dfcf5a84c5
21 changed files with 94 additions and 88 deletions

View File

@@ -245,7 +245,7 @@ nsAppShell::ProcessNextNativeEvent(bool mayWait)
// (bug 750713). Looper messages effectively have the lowest
// priority because we only process them before we're about to
// wait for new events.
if (AndroidBridge::HasEnv() &&
if (jni::IsAvailable() &&
AndroidBridge::Bridge()->PumpMessageLoop()) {
return true;
}