diff options
author | Varun Shah <varunshah@google.com> | 2021-03-11 12:49:20 -0800 |
---|---|---|
committer | Varun Shah <varunshah@google.com> | 2021-03-12 09:19:49 -0800 |
commit | 4ec1e1f05d048ce945b8d4b749b32c1d2dacc1dd (patch) | |
tree | 24c8d22704a8547530b6bc44b254920fbc0ec5c8 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 603b4c4a1bd7500811a690b4d7443df2fc08ca2b (diff) |
Deprecate PowerWhitelistManager.
Replace all constants and methods to reference the newly added
PowerExemptionManager.
Also keep Context#POWER_EXEMPTION_SERVICE hidden to discourage use of
getSystemService(String). It is still a TestApi for CTS purposes.
Bug: 180503057
Test: atest PowerExemptionManager
Test: atest PowerWhitelistManager
Change-Id: I52c24b79acf7a9ec9fce138d4cb0818b5480e2a0
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions