Open papjul opened 6 months ago
Regarding the window inset changes, I tested it on Android 15 both with the target and compileSdk set to 34 and 35. In both cases, the insets were handled identically to previous Android versions. I didn't notice any new issues here.[1]
The only issue is that the color of the system bars cannot be customized anymore:
There is an extensive article about insets handling which mentions this in 7. Background protect system bars only when necessary:
However, there are some cases where you wish to preserve the background color of the system bars, but the APIs to set the status and navigation bar colors are deprecated. We are planning to release an AndroidX library to support this use case.
The suggested workaround is to "place a composable or view behind the system bar". Although I'm still undecided if I like that approach.
[1]In landscape mode with three-button navigation some system bar insets are applied twice (by the root layout and by compose), but this is a different issue and not related to changing the SDK.
So it will be possible once the AndroidX library update is released?
I don't think SDK 35 is ready yet. It was just released on AOSP and it's not even there yet on Pixels. Let's just wait a bit more ;)
Behavior changes when compileSdk = 35
https://developer.android.com/about/versions/15/behavior-changes-all
Behavior changes when targetSdk = 35
https://developer.android.com/about/versions/15/behavior-changes-15
Service.onTimeout(int, int)
BOOT_COMPLETED
broadcast receivers launching foreground services:dataSync
services can no longer be launched => check if we are impactedNew SDK 35 features
To be completed
Deprecated in API level 35
To be completed
Last year schedule (SDK 34)
Current schedule (SDK 35)