Skip to content
Commit fa7d2f98 authored by Collin Fijalkovich's avatar Collin Fijalkovich
Browse files

Fix inaccuracies in BatterySaverPolicy cache invalidation

Subsequent changes to BatterySaverPolicy changed the variables
isBatterySaveMode depends on, causing us to fail to invalidate at the
correct time. This change moves the invalidate to occur alongside the
proper update to state.

Bug: 153712245
Test: built and flashed
Change-Id: Iab981286b321a6e9f235e01a62a3ea7cb13d4133
parent 990b302e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment