summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author Alejandro Nijamkin <nijamkin@google.com> 2022-10-11 16:04:49 -0700
committer Alejandro Nijamkin <nijamkin@google.com> 2022-10-11 16:22:28 -0700
commite7e879deb63e966a14456c975003e77c827c8294 (patch)
treeb5e6bad866bcbbeee087f76fc6bda261d4368d11 /libs/androidfw/ResourceTimer.cpp
parentf4ceebbadd7226a11c99d05b56abd21a273ec3ad (diff)
Adds toggle support for quick affordances.
Introduces the ability to toggle quick affordance buttons on the lock-screen. Developers of keyguard quick affordances will now have the option of providing an ON or OFF state for their toggle (or leave it unset) and the reset of the system will reflect that state onto the UI. Bug: 253094565 Test: Temporarily added a fake toggle config to the collection of keyguard quick affordances and made sure it looks correct on both dark and light themes on the lock-screen and toggles appropriately. Also expansed existing unit tests to cover for the new state. Change-Id: Idddb4baeb19c603a6663347a7b4319751f02fd2f
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions