Hide navbar only for android >= 4.4.
This commit is contained in:
parent
bd5d2f1c2a
commit
52d6e93bdc
@ -1150,6 +1150,12 @@ void CIrrDeviceAndroid::getKeyChar(SEvent& event)
|
|||||||
|
|
||||||
void CIrrDeviceAndroid::hideNavBar(ANativeActivity* activity)
|
void CIrrDeviceAndroid::hideNavBar(ANativeActivity* activity)
|
||||||
{
|
{
|
||||||
|
if (activity == NULL)
|
||||||
|
return;
|
||||||
|
|
||||||
|
if (activity->sdkVersion < 19)
|
||||||
|
return;
|
||||||
|
|
||||||
bool was_detached = false;
|
bool was_detached = false;
|
||||||
JNIEnv* env = NULL;
|
JNIEnv* env = NULL;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user