diff options
author | Adam Lesinski <adamlesinski@google.com> | 2017-07-31 13:42:00 -0700 |
---|---|---|
committer | Adam Lesinski <adamlesinski@google.com> | 2017-07-31 18:42:47 -0700 |
commit | 1aab3fa3b5d69251fd47a6df392ba81d072cd667 (patch) | |
tree | af0de8e21c47d2df09186c225e143af0be5b45d4 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 153d2ff613dfaf5cc2eff641c14b02235a86b978 (diff) |
Refresh constants when MCC/MNC changes in PowerUI
The PowerUI in SystemUI decides whether to show high temperature
warnings to the user based on resources defined for mnc/mcc
configurations. PowerUI only loads the relevant constants once
at startup, meaning any SIM changes that come after the initialization
are not visible. Sometimes, these changes are the first initialization
of mnc/mcc.
PowerUI now listens to configuration changes and updates its internal
state when mnc/mcc changes occur.
Bug: 62845934
Test: manual (put SIM in device and reboot)
Change-Id: Id6a13017924f0367594aa29419aac59ac8b7c157
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions