mirror of
https://github.com/Boof2015/astra-mobile.git
synced 2026-08-17 19:24:22 +02:00
fix android 13 crash
This commit is contained in:
@@ -35,9 +35,6 @@ android {
|
|||||||
path "CMakeLists.txt"
|
path "CMakeLists.txt"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
lintOptions {
|
|
||||||
abortOnError false
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|||||||
@@ -447,7 +447,10 @@ internal class AstraScopeView(
|
|||||||
Surface.FRAME_RATE_COMPATIBILITY_FIXED_SOURCE
|
Surface.FRAME_RATE_COMPATIBILITY_FIXED_SOURCE
|
||||||
)
|
)
|
||||||
} else {
|
} else {
|
||||||
surface.clearFrameRate()
|
surface.setFrameRate(
|
||||||
|
0f,
|
||||||
|
Surface.FRAME_RATE_COMPATIBILITY_DEFAULT
|
||||||
|
)
|
||||||
}
|
}
|
||||||
} catch (_: IllegalArgumentException) {
|
} catch (_: IllegalArgumentException) {
|
||||||
// The TextureView may detach while a frame-rate vote is being updated.
|
// The TextureView may detach while a frame-rate vote is being updated.
|
||||||
|
|||||||
Reference in New Issue
Block a user