Fix charging reporting logic.
The JobStatus.set*Satisfied APIs return whether the value changed, not the previous value. Fix BatteryController's perception and logic of the returned value. BC ended up notifying JobSchedulerService about changes anyway, but this now has more correct logic. Bug: 141645789 Test: atest CtsJobSchedulerTestCases Change-Id: I2632977f8869470416c5223574cf42d107e71128
Loading
Please register or sign in to comment