Android Question Problem with Android version 15 and higher

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
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 :(
Fully agree. Poor Erel keeps having to update B4A to cope with these changes by Google. Give me Windows VB6 anytime.
Also I still use B4A version 8.3: most apps from my early years (I started with B4A in 2012) still work, as long as I don't upgrade my B4A version and simply ignore all the "this app is out of date" warnings. I just make apps for myself and thus don't care about all the irritating Playstore issues. Updating to B4A version 12+ gives too much problems (for me). I do believe that (version dependent) solutions could/should be incorporated in the B4A internal libraries in stead of all the reflector/java workarounds. Ideally we won't see any java code in this forum anymore.
 
Upvote 0
Top