commit | 4fb074e7f41a1095c0a20bdab47a053bd9bd2551 | [log] [tgz] |
---|---|---|
author | Kweku Adams <kwekua@google.com> | Fri Feb 01 16:03:27 2019 -0800 |
committer | Kweku Adams <kwekua@google.com> | Thu Feb 28 14:55:39 2019 -0800 |
tree | 1b63565bf1577a86e77d7a91edbb2a2e0168194f | |
parent | 6dabb47132d6ce169a8592a209556a5791eb84d3 [diff] |
Adding new Battery Saver location mode. When this new mode (LOCATION_MODE_THROTTLE_REQUESTS_WHEN_SCREEN_OFF) is enabled, LocationManagerService will avoid sending almost all LocationRequests to providers. The only requests that will continue to be sent will be providers are the requests that ignore location settings. Bug: 121256487 Bug: 122849003 Bug: 119261320 Test: atest android.os.cts.batterysaving.BatterySaverLocationTest Change-Id: Iee95a6fb5ca11d4db7a0f0661bf3cb1051a5d710