fix Android Vulkan instrumentation tests (#4091)

This commit is contained in:
Adrian Cojocaru
2026-02-11 13:35:08 +02:00
committed by GitHub
parent d54f84a8d6
commit dd48946987
7 changed files with 18 additions and 24 deletions

View File

@@ -49,6 +49,7 @@ open class MapLibreApplication : MultiDexApplication() {
StrictMode.setVmPolicy(
VmPolicy.Builder()
.detectLeakedSqlLiteObjects()
.detectLeakedClosableObjects()
.penaltyLog()
.penaltyDeath()
.build()

View File

@@ -48,7 +48,7 @@ class ViewPagerActivity : AppCompatActivity() {
override fun getItem(position: Int): androidx.fragment.app.Fragment {
val options = MapLibreMapOptions.createFromAttributes(context)
options.textureMode(true)
options.textureMode(false)
options.camera(
CameraPosition.Builder()
.zoom(3.0)