Assigned
Status Update
Comments
al...@google.com <al...@google.com>
ca...@google.com <ca...@google.com> #2
This is a documentation issue and doesn't need to block the release
dd...@gmail.com <dd...@gmail.com> #3
sex
ca...@google.com <ca...@google.com>
al...@google.com <al...@google.com>
al...@google.com <al...@google.com> #4
Reassigning to current owner per go/androidx/owners.
Description
Component used: core
Version used: 1.5.0-beta01
Devices/Android versions reproduced on: API 29
Suppose
android:windowLightStatusBar
is set totrue
in the theme.Based on the documentation of
WindowInsetsControllerCompat.setAppearanceLightStatusBars
and I would expect that callingWindowInsetsControllerCompat.setAppearanceLightStatusBars(false)
would revert to the default appearance oftrue
on API 29 and below, like it does on API 30.There's an analogous issue for
windowLightNavigationBar
as well.On a related note, the naming for this behavior seems extremely counter-intuitive: Calling
WindowInsetsControllerCompat.setAppearanceLightStatusBars(false)
may actually not set the appearance of light status bars to false, iftrue
is the default behavior.But whichever is the desired behavior, I feel like the behavior of API 30 and API 29 and below should agree.