summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author Grace <gracehan@google.com> 2022-07-11 21:03:24 +0000
committer Hawkwood Glazier <jglazier@google.com> 2022-08-31 22:27:05 +0000
commita724e0b753f710aef22c786bb089d3c8f7d7970a (patch)
treee1d560ecf0e86a354905aa08955e778b06c85f9b /libs/androidfw/ResourceTimer.cpp
parent417feefd5f163d3c35fa1ae5a21959bfe3220318 (diff)
[DO NOT MERGE] Update DefaultClockProvider colors
This is largely a cherry-pick of change I6b32776dac1853eeab87c2a65da69478e4da5b75 but with some notable changes to accomadate existing code differences in tm-qpr-dev. - We use a boolean instead of an enum for clock region darkness as the enum is in a different place in tm-qpr-dev. - We clean up some of the initialization code in ClockEventController to prevent testing issues and provide a dependency injection point to the screenshot test. - Pull the clock color setting from the theme when region sampling is disabled instead of defaulting to always dark. Test: Manually validated colors matched reference images on light and dark backgrounds with the region sampling feature both enabled and disabled. Bug: 229771520 Change-Id: I7906850b5de7f512f55e47e1122dfaacbc9c9406
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions