Browse Source

engine: platform: android: remove dead code

pull/2/head
Alibek Omarov 1 year ago
parent
commit
71b06801ef
  1. 10
      engine/platform/android/android.c
  2. 1
      engine/platform/platform.h

10
engine/platform/android/android.c

@ -144,14 +144,4 @@ void Platform_ShellExecute( const char *path, const char *parms )
#endif #endif
} }
/*
========================
Android_GetKeyboardHeight
========================
*/
int Android_GetKeyboardHeight( void )
{
return (*jni.env)->CallIntMethod( jni.env, jni.activity, jni.getKeyboardHeight );
}
#endif // XASH_DEDICATED #endif // XASH_DEDICATED

1
engine/platform/platform.h

@ -63,7 +63,6 @@ const char *Android_LoadID( void );
void Android_SaveID( const char *id ); void Android_SaveID( const char *id );
void Android_Init( void ); void Android_Init( void );
void *Android_GetNativeObject( const char *name ); void *Android_GetNativeObject( const char *name );
int Android_GetKeyboardHeight( void );
#endif #endif
#if XASH_WIN32 #if XASH_WIN32

Loading…
Cancel
Save