Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix semantics keys init order issue differently #1785

Closed
wants to merge 2 commits into from

Conversation

igordmn
Copy link
Collaborator

@igordmn igordmn commented Jan 20, 2025

No description provided.

@@ -449,6 +449,20 @@ private fun <T> throwSemanticsGetNotSupported(): T {
)
}

@Suppress("NOTHING_TO_INLINE")
// inline to break static initialization cycle issue
internal inline fun <T> AccessibilityKey(name: String) =
Copy link
Member

Choose a reason for hiding this comment

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

There was a conflict during the last merge here. Please wait integration merging for this change

Copy link
Member

Choose a reason for hiding this comment

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

oookay. It took some time to rediscover the root of this issue.

I reverted your previous fix after the merge for now. inline also works fine, but it requires extra comment with mentioning https://youtrack.jetbrains.com/issue/KT-65040

Copy link
Collaborator Author

@igordmn igordmn Jan 22, 2025

Choose a reason for hiding this comment

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

I am upstreaming it in https://android-review.googlesource.com/c/platform/frameworks/support/+/3459419

After merging, I'll revert the fork changes and cherry-pick the fix

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Will do that in a separate PR, with other CL fixes

@igordmn igordmn closed this Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants