Skip to content

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

@FR3DD221

Description

@FR3DD221

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

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions