Function
Android
@ExperimentalComposeUiApi
fun ComposeView.Companion.disableWindowInsetsRulers()
Used to disable androidx.compose.ui.layout.WindowInsetsRulers. This can be used when UI never reads WindowInsets across the process and having WindowInsets callbacks cause frame generation when no content is updated. Applications typically would not use this method, but it may be necessary for system UI. This should be called before the first ComposeView is created to avoid insets calls.