Skip to content

Remove ComposeUiFlags.areWindowInsetsRulersEnabled#3211

Open
Vendula Švastalová (svastven) wants to merge 2 commits into
jb-mainfrom
svastven/CMP-9823
Open

Remove ComposeUiFlags.areWindowInsetsRulersEnabled#3211
Vendula Švastalová (svastven) wants to merge 2 commits into
jb-mainfrom
svastven/CMP-9823

Conversation

@svastven

@svastven Vendula Švastalová (svastven) commented Jul 10, 2026

Copy link
Copy Markdown

Removes ComposeUiFlags.areWindowInsetsRulersEnabled in favor of common disableWindowInsetsRulers()

Fixes CMP-9823 Consider removing ComposeUiFlags.areWindowInsetsRulersEnabled flag

Prerequisity of merging this PR is that AOSP changes in the CL are merged and then synced into the fork.

Testing

  • UIKit instrumented tests: adds testDisableWindowInsetsRulers to WindowInsetsRulersTest
  • skiko: adds DisableWindowInsetsRulersTest test suite

Release Notes

Features - Multiple Platforms

  • Remove ComposeUiFlags.areWindowInsetsRulersEnabled in favor of disableWindowInsetsRulers()

* the application. This should be called before the first Compose root is created.
*/
@ExperimentalComposeUiApi
fun disableWindowInsetsRulers() {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Public API in commonMain is strictly no-go in fork. It will just crash on Android

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants