bug 882196 - Android crash in nsXPCWrappedJS::AddRef, remove nsAppShell::CallObservers r=snorp
This commit is contained in:
@@ -172,7 +172,9 @@ public class GeckoAppShell
|
||||
public static native void setLayerClient(GeckoLayerClient client);
|
||||
public static native void onResume();
|
||||
public static native void onLowMemory();
|
||||
public static native void callObserver(String observerKey, String topic, String data);
|
||||
public static void callObserver(String observerKey, String topic, String data) {
|
||||
sendEventToGecko(GeckoEvent.createCallObserverEvent(observerKey, topic, data));
|
||||
}
|
||||
public static native void removeObserver(String observerKey);
|
||||
public static native void onChangeNetworkLinkStatus(String status);
|
||||
public static native Message getNextMessageFromQueue(MessageQueue queue);
|
||||
|
||||
Reference in New Issue
Block a user