commit | c1d844a52b33b03e47b06d37e9e979fc0204c63e | [log] [tgz] |
---|---|---|
author | Kweku Adams <kwekua@google.com> | Thu Mar 28 16:05:00 2019 -0700 |
committer | Kweku Adams <kwekua@google.com> | Fri Mar 29 13:28:45 2019 -0700 |
tree | b91b16332d4437ef63dd10f0bc7dc6fc9e575e6a | |
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