Android: No longer try to free the native activity when toggling the virtual keyboard

This commit is contained in:
Mario Liebisch 2016-02-16 19:20:42 +01:00 committed by Lukas Dürrenberger
parent b61502b69a
commit 687f260a46

View File

@ -125,7 +125,6 @@ void InputImpl::setVirtualKeyboardVisible(bool visible)
MethodHideSoftInput, lBinder, lFlags); MethodHideSoftInput, lBinder, lFlags);
lJNIEnv->DeleteLocalRef(lBinder); lJNIEnv->DeleteLocalRef(lBinder);
} }
lJNIEnv->DeleteLocalRef(lNativeActivity);
lJNIEnv->DeleteLocalRef(ClassNativeActivity); lJNIEnv->DeleteLocalRef(ClassNativeActivity);
lJNIEnv->DeleteLocalRef(ClassInputMethodManager); lJNIEnv->DeleteLocalRef(ClassInputMethodManager);
lJNIEnv->DeleteLocalRef(lDecorView); lJNIEnv->DeleteLocalRef(lDecorView);