Android Question Problem with Android version 15 and higher

Status
Not open for further replies.

Filippo

Expert
Licensed User
Longtime User
Hi,

There is this warning in the Play Console:

2 actions recommended

Your app no longer uses supported APIs or parameters for borderless display

At least one of the APIs or parameters you are using and for which you have specified the use of borderless and window display has been discontinued in Android 15. Your app uses the following APIs or parameters that are no longer supported:

  • androidx.core.view.WindowCompat.setDecorFitsSystemWindows
  • android.view.Window.setDecorFitsSystemWindows
  • androidx.core.view.WindowCompat$Api30Impl.setDecorFitsSystemWindows
  • LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES

    They start at the following points:
  • androidx.compose.ui.window.DialogWrapper.<init>
  • androidx.core.view.WindowCompat$Api30Impl.setDecorFitsSystemWindows
  • androidx.core.view.WindowCompat.setDecorFitsSystemWindows
  • androidx.activity.EdgeToEdgeApi28.adjustLayoutInDisplayCutoutMode

    Migrate away from these APIs or parameters in preparation for the switch to Android 15.

Now I have to check where I need to change something.
 

Filippo

Expert
Licensed User
Longtime User
Thanks Edel, but I've already tried that too.
 
Upvote 0

Johan Schoeman

Expert
Licensed User
Longtime User
These continual breaking changes to Android are ridiculous. On Windows I can still run 25 year old plus complex applications from the Windows XP era (Office XP among them) without problems - but not so for a few year old apps on Android :(
Andrew, I have updated my phone OS to A15 today and your access to the root folder is still working. I dont have my apps on Play Store but happy to still be using your code to access the root folder when using A15.
 
Upvote 0
Status
Not open for further replies.
Top