health: Fix limit notification
Change-Id: Iacea2006d35391438a28d9276b2be69c2d54c822
This commit is contained in:
committed by
Michael Bestas
parent
cea2b3c918
commit
c4ce388ecf
@@ -424,7 +424,7 @@ public class ChargingControlController extends LineageHealthFeature {
|
||||
|
||||
if (mode == MODE_LIMIT) {
|
||||
if (mCurrentProvider.update(mBatteryPct, limit)) {
|
||||
mChargingNotification.post(limit, mBatteryPct == limit);
|
||||
mChargingNotification.post(limit, mBatteryPct >= limit);
|
||||
}
|
||||
} else {
|
||||
ChargeTime chargeTime = getChargeTime();
|
||||
|
||||
Reference in New Issue
Block a user