From c085d248a6ba23eb693714f34dffa36f9e2dc6bc Mon Sep 17 00:00:00 2001 From: Josh Dhaliwal Date: Thu, 29 Mar 2012 07:20:58 -0700 Subject: [PATCH] Bug 739488 - Fennec Native nightly crashes in mozilla::AndroidBridge::EnableLocationHighAccuracy when page requests GPS location. r=dougt --- widget/android/AndroidBridge.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/widget/android/AndroidBridge.cpp b/widget/android/AndroidBridge.cpp index ea5d06ea610..8e87434b218 100644 --- a/widget/android/AndroidBridge.cpp +++ b/widget/android/AndroidBridge.cpp @@ -117,6 +117,7 @@ AndroidBridge::Init(JNIEnv *jEnv, jAcknowledgeEventSync = (jmethodID) jEnv->GetStaticMethodID(jGeckoAppShellClass, "acknowledgeEventSync", "()V"); jEnableLocation = (jmethodID) jEnv->GetStaticMethodID(jGeckoAppShellClass, "enableLocation", "(Z)V"); + jEnableLocationHighAccuracy = (jmethodID) jEnv->GetStaticMethodID(jGeckoAppShellClass, "enableLocationHighAccuracy", "(Z)V"); jEnableSensor = (jmethodID) jEnv->GetStaticMethodID(jGeckoAppShellClass, "enableSensor", "(I)V"); jDisableSensor = (jmethodID) jEnv->GetStaticMethodID(jGeckoAppShellClass, "disableSensor", "(I)V"); jReturnIMEQueryResult = (jmethodID) jEnv->GetStaticMethodID(jGeckoAppShellClass, "returnIMEQueryResult", "(Ljava/lang/String;II)V");