summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Jorge Gil <jorgegil@google.com> 2024-06-03 17:33:20 +0000
committer Jorge Gil <jorgegil@google.com> 2024-06-04 17:26:22 +0000
commitd45c35d379f4e51b822453921a7a3316456194e3 (patch)
tree906f4028e741895f26e20a060e28e2c87841bcb3 /libs/androidfw/StringPool.cpp
parentf63654086d7f91890d8afc5987c41a8cd5fe6a73 (diff)
Use material3's dynamic color schemes in App Header
Uses dynamicLightColorScheme and dynamicDarkColorScheme based on the app's theme to style the header. This allows the App Header to use light/dark variants of color tokens even if the app theme and system theme are not aligned, whereas before, "inverse" tokens (resolved with the system context) had to be used for apps not following the system theme, which are much more limited than non-inverse tokens. Bug: 328668781 Test: App Header of light app on dark system theme and viceversa always follows the app theme and focus / unfocused headers are differentiated Change-Id: I9321726551a54c3ac1b1bf3fe12b2ee29dc7a5be
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions