Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0873b2ea authored by Suprabh Shukla's avatar Suprabh Shukla Committed by android-build-merger
Browse files

Merge "Sending BATTERY_LEVEL_CHANGED when plug type changes" into pi-dev am: 8cb78fcb

am: 25feb29a

Change-Id: Ie0539b3368d826f563a6296e9d577ea252e7f73b
parents 0c7d4fd0 25feb29a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
            // of JobScheduler's BatteryController works.)
            sendBatteryChangedIntentLocked();
            if (mLastBatteryLevel != mHealthInfo.batteryLevel) {
            if (mLastBatteryLevel != mHealthInfo.batteryLevel || mLastPlugType != mPlugType) {
                sendBatteryLevelChangedIntentLocked();
            }