Commit d0b4d17
BatteryService: Mod: Check against all conditions
* Change logical operators from `||` to ~&&` to achieve this.
* Additionally, change to using supplementalOrEmergencyModOnline()
to avoid duplicating logic.
* This fixes battery power saver mode on some devices that were
effected by the initial Battery mod commit.
Change-Id: I9b2bfa26ab0c204f7a42ba6010f1f569fa7b0fd81 parent df71b93 commit d0b4d17
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
387 | 387 | | |
388 | 388 | | |
389 | 389 | | |
390 | | - | |
391 | | - | |
| 390 | + | |
| 391 | + | |
392 | 392 | | |
393 | 393 | | |
394 | 394 | | |
| |||
0 commit comments