Hide navbar only for android >= 4.4.

This commit is contained in:
Deve 2018-07-27 20:55:31 +02:00
parent bd5d2f1c2a
commit 52d6e93bdc

View File

@ -1150,6 +1150,12 @@ void CIrrDeviceAndroid::getKeyChar(SEvent& event)
void CIrrDeviceAndroid::hideNavBar(ANativeActivity* activity)
{
if (activity == NULL)
return;
if (activity->sdkVersion < 19)
return;
bool was_detached = false;
JNIEnv* env = NULL;