function restartApp(){
plus.runtime.restart();
let main = plus.android.runtimeMainActivity();
main.moveTaskToBack(false);
}
if (mWXSDKInstance.getContext() == null) {
Log.i(TAG, "globalEvent mWXSDKInstance is null");
} else {
Log.i(TAG, "globalEvent mWXSDKInstance not null");
}