Loading services/core/java/com/android/server/BatteryService.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -624,7 +624,7 @@ public final class BatteryService extends SystemService { // them will get the new sequence number at that point. (See for example how testing // them will get the new sequence number at that point. (See for example how testing // of JobScheduler's BatteryController works.) // of JobScheduler's BatteryController works.) sendBatteryChangedIntentLocked(); sendBatteryChangedIntentLocked(); if (mLastBatteryLevel != mHealthInfo.batteryLevel) { if (mLastBatteryLevel != mHealthInfo.batteryLevel || mLastPlugType != mPlugType) { sendBatteryLevelChangedIntentLocked(); sendBatteryLevelChangedIntentLocked(); } } Loading Loading
services/core/java/com/android/server/BatteryService.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -624,7 +624,7 @@ public final class BatteryService extends SystemService { // them will get the new sequence number at that point. (See for example how testing // them will get the new sequence number at that point. (See for example how testing // of JobScheduler's BatteryController works.) // of JobScheduler's BatteryController works.) sendBatteryChangedIntentLocked(); sendBatteryChangedIntentLocked(); if (mLastBatteryLevel != mHealthInfo.batteryLevel) { if (mLastBatteryLevel != mHealthInfo.batteryLevel || mLastPlugType != mPlugType) { sendBatteryLevelChangedIntentLocked(); sendBatteryLevelChangedIntentLocked(); } } Loading