diff options
author | Kweku Adams <kwekua@google.com> | 2020-03-16 14:24:31 -0700 |
---|---|---|
committer | Kweku Adams <kwekua@google.com> | 2020-03-23 11:51:46 -0700 |
commit | 62cef43ac255c09308f0f42744772e0da3f3c54c (patch) | |
tree | 102800aeacb5adf37e1d34dca2e19415b510f0f1 /tools/aapt2/java/AnnotationProcessor_test.cpp | |
parent | f1d96d48f6a50d16ef1b70344a5f92d809bce740 (diff) |
Deprecate POWER_SAVE_MODE_CHANGING broadcast.
The internal POWER_SAVE_MODE_CHANGING broadcast is sent at the same
time as the POWER_SAVE_MODE_CHANGED broadcast. Since broadcasts are
asynchronous,there's no reason to have both, especially since it can
potentially lead to inconsistency, so we should simplify down to just
one. Mark the POWER_SAVE_MODE_CHANGING broadcast as deprecated in R and
unavailable to apps targeting R. We'll remove it in a future version.
Bug: 79580230
Test: Android builds
Test: atest BatterySaverReceiverTest
Change-Id: I70e20ce53b496a3dc88a1083c230334f53032d81
Diffstat (limited to 'tools/aapt2/java/AnnotationProcessor_test.cpp')
0 files changed, 0 insertions, 0 deletions