commit | 407b180628d9d90487b6583e6d62b74ba0794dc5 | [log] [tgz] |
---|---|---|
author | mattsziklay <mattsziklay@google.com> | Thu Jun 01 10:36:29 2023 -0700 |
committer | mattsziklay <mattsziklay@google.com> | Thu Jun 01 10:36:29 2023 -0700 |
tree | 035388f3ba5341a74734f26cead24036be1c1fb9 | |
parent | a832ada6f443ce3206551596972d58d64d8245c6 [diff] |
Use status bar appearance to determine header element brightness. Currently we use status bar color to determine header element brightness, which has the side effect of defaulting to bright elements on a clear caption. This CL will instead use the WindowInsets.APPEARANCE_LIGHT_STATUS_BAR flag to determine brightness in this particular case. Bug: 280833361 Test: Manual; open apps with and without clear status bar. Change-Id: Ie429825a76c20a5e1767bb80ba99cae8b7ce6068