diff options
| author | Kweku Adams <kwekua@google.com> | 2019-03-04 17:16:02 -0800 |
|---|---|---|
| committer | Kweku Adams <kwekua@google.com> | 2019-03-04 17:16:02 -0800 |
| commit | 44e62808976b92916dc29c7e746b82387782ec49 (patch) | |
| tree | bbdc2449f77447cdc231fbabade0946a6d8a6fc6 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
| parent | 24ed9e4f35df9481c2d96a6149e3d2fbb5e5cf9c (diff) | |
Fix BatterySaverPolicy night mode flag parsing.
BatterySaverPolicy incorrectly negated the enable_night_mode flag,
so when the flag was set to true, night mode was disabled, and vice
versa. This didn't affect the default value, just when the key was
set via string constants.
Bug: 127356043
Test: atest com.android.server.power.batterysaver.BatterySaverPolicyTest
Change-Id: I45d0fc30ea0348eefc706cf67c8820d0cbb5f3a1
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions
