Removed unused Android code

This commit is contained in:
Sascha Willems 2020-08-06 08:02:27 +02:00
parent 9c029b36fa
commit 14536c6ec7
2 changed files with 0 additions and 17 deletions

View file

@ -938,21 +938,6 @@ bool VulkanExampleBase::initVulkan()
submitInfo.signalSemaphoreCount = 1;
submitInfo.pSignalSemaphores = &semaphores.renderComplete;
#if defined(VK_USE_PLATFORM_ANDROID_KHR)
// Get Android device name and manufacturer (to display along GPU name)
androidProduct = "";
char prop[PROP_VALUE_MAX+1];
int len = __system_property_get("ro.product.manufacturer", prop);
if (len > 0) {
androidProduct += std::string(prop) + " ";
};
len = __system_property_get("ro.product.model", prop);
if (len > 0) {
androidProduct += std::string(prop);
};
LOGD("androidProduct = %s", androidProduct.c_str());
#endif
return true;
}