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

Deprecated Edge-to-Edge APIs in Android 15 #557

Open
FR3DD221 opened this issue Mar 10, 2025 · 0 comments
Open

Deprecated Edge-to-Edge APIs in Android 15 #557

FR3DD221 opened this issue Mar 10, 2025 · 0 comments

Comments

@FR3DD221
Copy link
Contributor

FR3DD221 commented Mar 10, 2025

This issue aims to document compatibility warnings detected in OSMTracker for future updates. The goal is have a maintain a record of necessary changes to ensure compatibility with future Android versions.

Android 15 has deprecated several APIs related to edge-to-edge display and window customization. The following APIs that are no longer recommended:

  • android.view.Window.setDecorFitsSystemWindows
  • androidx.core.view.WindowCompat$Api35Impl.setDecorFitsSystemWindows
  • android.view.Window.setStatusBarColor
  • androidx.core.view.WindowCompat.setDecorFitsSystemWindows
  • android.view.Window.setNavigationBarColor

These APIs are used in:

  • androidx.core.view.WindowCompat$Api35Impl.setDecorFitsSystemWindows
  • androidx.core.view.WindowCompat.setDecorFitsSystemWindows
  • com.google.android.material.bottomsheet.BottomSheetDialog.onCreate
  • com.google.android.material.internal.EdgeToEdgeUtils.applyEdgeToEdge
  • com.google.android.material.sidesheet.SheetDialog.onCreate
@FR3DD221 FR3DD221 changed the title Android 15 and 16 Compatibility Warnings Deprecated Edge-to-Edge APIs in Android 15 Mar 10, 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

No branches or pull requests

1 participant