Run MapLibreAndroidTestApp activities as instrumentation tests (#3594)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
Adrian Cojocaru
2025-07-23 18:46:00 +03:00
committed by GitHub
parent b7f129cc00
commit a015b6bf12
20 changed files with 394 additions and 199 deletions

View File

@@ -24,7 +24,8 @@ public:
void createPlatformSurface() override {
auto& backendImpl = static_cast<AndroidVulkanRendererBackend&>(backend);
const vk::AndroidSurfaceCreateInfoKHR createInfo({}, backendImpl.getWindow());
surface = backendImpl.getInstance()->createAndroidSurfaceKHRUnique(createInfo);
surface = backendImpl.getInstance()->createAndroidSurfaceKHRUnique(
createInfo, nullptr, backendImpl.getDispatcher());
const int apiLevel = android_get_device_api_level();
if (apiLevel < __ANDROID_API_Q__) {