diff options
author | Kweku Adams <kwekua@google.com> | 2019-03-28 16:05:00 -0700 |
---|---|---|
committer | Kweku Adams <kwekua@google.com> | 2019-03-29 13:28:45 -0700 |
commit | c1d844a52b33b03e47b06d37e9e979fc0204c63e (patch) | |
tree | b91b16332d4437ef63dd10f0bc7dc6fc9e575e6a /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 319e7cb647c5ea473836276b6bddbc5f11e9a665 (diff) |
Making Battery Saver policy setting more defensive.
1. Making a full copy of the config Builder's map so that changing
the map in the builder doesn't change the config's map.
2. Ensuring that location mode and brightness adjustment factors are
within valid ranges.
Bug: 129474588
Test: manual
Change-Id: I6117b7857afa10d71c1fc3de818c51d8719a281b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions