forked from organicmaps/organicmaps
closes #466
This commit is contained in:
parent
b49e6cedcf
commit
897f524154
1 changed files with 5 additions and 0 deletions
|
@ -581,8 +581,13 @@ static jboolean NVEventAccelerometerEvent(JNIEnv* env, jobject thiz, jfloat valu
|
|||
///////////////////////////////////////////////////////////////////////////////
|
||||
// Java to Native app lifecycle callback functions
|
||||
|
||||
static jboolean onDestroyNative(JNIEnv* env, jobject thiz);
|
||||
|
||||
static jboolean onCreateNative(JNIEnv* env, jobject thiz)
|
||||
{
|
||||
if (s_globalThiz)
|
||||
onDestroyNative(env, thiz);
|
||||
|
||||
ZeroAppFlags();
|
||||
|
||||
if (!s_globalThiz)
|
||||
|
|
Loading…
Add table
Reference in a new issue