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