diff options
author | Dave Mankoff <mankoff@google.com> | 2020-04-07 14:58:51 -0400 |
---|---|---|
committer | Dave Mankoff <mankoff@google.com> | 2020-04-07 15:01:13 -0400 |
commit | 9d892e4eba5a39551b386fa40524cf545ebed95e (patch) | |
tree | af273176f8d3fc26400e07da871cad7d838df5e3 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | d5729ebc66f333af206c96e81f9e1c18129d7f83 (diff) |
Remove StateProvider from LockIcon
Whenever the state changes in the system, we now push that information
directly to the LockIcon, instead of pushing what we think the prior
state was and letting it query for the current state. This allows
the LockIcon to properly track what _it_ thinks the old state was
(when it last changed its icon) and then react accordingly.
This has the added benefit of being easier to understand with
less code.
Fixes: 153117689
Test: atest SystemUITests && Manual
Change-Id: I8f2e3e1d2287b26ca44b7eb6df8de392efd4bb2a
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions