fix Android Vulkan instrumentation tests (#4091)
This commit is contained in:
@@ -49,6 +49,7 @@ open class MapLibreApplication : MultiDexApplication() {
|
||||
StrictMode.setVmPolicy(
|
||||
VmPolicy.Builder()
|
||||
.detectLeakedSqlLiteObjects()
|
||||
.detectLeakedClosableObjects()
|
||||
.penaltyLog()
|
||||
.penaltyDeath()
|
||||
.build()
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user