[Android] Add support for panic alerts to the JNI.

This commit is contained in:
Ryan Houdek 2015-05-21 18:48:35 -05:00
parent 7c04c76a26
commit d789d8d75f
2 changed files with 46 additions and 2 deletions

View file

@ -217,6 +217,21 @@ public final class NativeLibrary
*/
public static native void WriteProfileResults();
/**
* @return If we have an alert
*/
public static native boolean HasAlertMsg();
/**
* @return The alert string
*/
public static native String GetAlertMsg();
/**
* Clears event in the JNI so we can continue onward
*/
public static native void ClearAlertMsg();
/** Native EGL functions not exposed by Java bindings **/
public static native void eglBindAPI(int api);