Skip to content

Fix new UseKtx lint warnings in AGP 8.9.0-alpha09#3346

Merged
mergify[bot] merged 2 commits intomasterfrom
rvm/usektx_fixes
Jan 11, 2025
Merged

Fix new UseKtx lint warnings in AGP 8.9.0-alpha09#3346
mergify[bot] merged 2 commits intomasterfrom
rvm/usektx_fixes

Conversation

@rvandermeulen
Copy link
Contributor

Looks like AGP is getting more strict around using KTX extension functions. Seeing multiple linter errors like the following:
Error: Use the KTX extension function String.toUri instead? [UseKtx]
Error: Use the KTX extension function SharedPreferences.edit instead? [UseKtx]

Fixes are easy at least!

@rvandermeulen rvandermeulen added the needs landing Auto lands approved and green PRs. label Jan 10, 2025
Copy link
Collaborator

@jonalmeida jonalmeida left a comment

Choose a reason for hiding this comment

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

Thankfully, for now these are good suggestions from the linter.

@mergify mergify bot merged commit 83a1bc0 into master Jan 11, 2025
15 checks passed
@rvandermeulen rvandermeulen deleted the rvm/usektx_fixes branch January 11, 2025 02:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs landing Auto lands approved and green PRs.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants