(Android) Added device info as debug log output on application startup

This commit is contained in:
Leon Styhre 2023-12-23 20:53:30 +01:00
parent 3d4dcadc47
commit c42c009c59

View file

@ -858,6 +858,7 @@ int main(int argc, char* argv[])
#if defined(__ANDROID__)
LOG(LogDebug) << "Android API level: " << SDL_GetAndroidSDKVersion();
Utils::Platform::Android::printDeviceInfo();
int storageState {SDL_AndroidGetExternalStorageState()};
if (storageState == 0) {
LOG(LogError) << "Android external storage state: " << SDL_GetError();