mirror of
https://github.com/mihonapp/mihon.git
synced 2026-10-16 13:48:09 -07:00
@@ -337,6 +337,16 @@ class MainActivity : BaseActivity() {
|
||||
}
|
||||
}
|
||||
|
||||
override fun reportFullyDrawn() {
|
||||
try {
|
||||
super.reportFullyDrawn()
|
||||
} catch (e: SecurityException) {
|
||||
// Some Samsung Android 9 to 11 builds deny the platform's fully drawn broadcast
|
||||
// and the report only feeds startup metrics, so it shouldn't crash the app
|
||||
logcat(LogPriority.WARN, e)
|
||||
}
|
||||
}
|
||||
|
||||
@Composable
|
||||
private fun HandleOnNewIntent(context: Context, navigator: Navigator) {
|
||||
LaunchedEffect(Unit) {
|
||||
|
||||
Reference in New Issue
Block a user