fix android 13 crash

This commit is contained in:
Boof2015
2026-08-01 11:09:21 -04:00
parent 1127c42c55
commit 8374d64972
2 changed files with 4 additions and 4 deletions
-3
View File
@@ -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.