mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1182641 - Use new autogenerated native methods for ANRReporter; r=snorp
This commit is contained in:
parent
f997333a6f
commit
31ae3e7c81
@ -21,6 +21,7 @@ import java.util.regex.Pattern;
|
||||
|
||||
import org.json.JSONObject;
|
||||
import org.mozilla.gecko.AppConstants.Versions;
|
||||
import org.mozilla.gecko.mozglue.generatorannotations.WrapElementForJNI;
|
||||
import org.mozilla.gecko.util.ThreadUtils;
|
||||
|
||||
import android.content.BroadcastReceiver;
|
||||
@ -53,8 +54,11 @@ public final class ANRReporter extends BroadcastReceiver
|
||||
private Handler mHandler;
|
||||
private volatile boolean mPendingANR;
|
||||
|
||||
@WrapElementForJNI
|
||||
private static native boolean requestNativeStack(boolean unwind);
|
||||
@WrapElementForJNI
|
||||
private static native String getNativeStack();
|
||||
@WrapElementForJNI
|
||||
private static native void releaseNativeStack();
|
||||
|
||||
public static void register(Context context) {
|
||||
|
@ -195,7 +195,6 @@ classycle_jar := $(topsrcdir)/mobile/android/build/classycle/classycle-1.4.1.jar
|
||||
-libraryjars $(library_jars)
|
||||
|
||||
CLASSES_WITH_JNI= \
|
||||
org.mozilla.gecko.ANRReporter \
|
||||
org.mozilla.gecko.GeckoAppShell \
|
||||
org.mozilla.gecko.GeckoJavaSampler \
|
||||
org.mozilla.gecko.gfx.NativePanZoomController \
|
||||
|
Loading…
Reference in New Issue
Block a user