summaryrefslogtreecommitdiff
path: root/libs/androidfw/misc.cpp
diff options
context:
space:
mode:
author Catherine Liang <cathliang@google.com> 2024-11-15 21:33:22 +0000
committer Catherine Liang <cathliang@google.com> 2024-11-19 17:20:53 +0000
commit3ff32a370fb0596b557729688ebb29455fb77df3 (patch)
treefea4bfc0f9af846923ad20a6cc87bf37c8e9ccd5 /libs/androidfw/misc.cpp
parent927439792c328e682c5e8a101fa1ac22991e7c9d (diff)
Enable widget dark theme preview
When creating an application context for resources using a base context, make sure to transfer over the base context's configurations, since this is reset in the process. This way, when night mode is set on the base context, the remote views are updated accordingly. Flag: EXEMPT bug fix Test: manually verified by toggling dark theme in Wallpaper & Style Test: manually tested various widgets across users in dark & light theme Test: atest CtsWidgetTestCases Bug: 379875895 Change-Id: I83f19f5e0fdddffd19f04c6af36472a04a22b1c8
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions