Skip to content

Fix deprecated Locale and Thread API usage warnings in sqflite_android#509

Open
mhosseini-dev wants to merge 1 commit intoBaseflow:developfrom
mhosseini-dev:develop
Open

Fix deprecated Locale and Thread API usage warnings in sqflite_android#509
mhosseini-dev wants to merge 1 commit intoBaseflow:developfrom
mhosseini-dev:develop

Conversation

@mhosseini-dev
Copy link

This PR resolves Java deprecation warnings caused by outdated API usage in the sqflite_android package.

Issues Fixed

  • Replaced deprecated Locale(String, String, String) constructor usage.
  • Removed deprecated Thread.getId() usage.
  • Ensured compatibility with newer Android SDK / Java versions.

Why

Recent Android / Java versions mark:

  • Locale(String, String, String) as deprecated.
  • Thread.getId() as deprecated.

These warnings were appearing during Android builds and could potentially cause stricter compilation issues in future SDK versions.

Result

  • Clean build without deprecation warnings.
  • Improved forward compatibility with newer Android toolchains.
  • No behavioral changes introduced.

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.

1 participant