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

Commit ddf96c0a authored by Narayan Kamath's avatar Narayan Kamath
Browse files

BatteryStats: Remove empty conditional.

This was accidentally left behind by change 8182202a when the
statsd related logic was moved to the caller of the method in
question.

Test: make
Change-Id: I75f88aa239d84dfd57f64606059f41259b35c334
parent 738471a9
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -9931,8 +9931,6 @@ public class BatteryStatsImpl extends BatteryStats {
            if (wl != null) {
                StopwatchTimer wlt = getWakelockTimerLocked(wl, type);
                wlt.stopRunningLocked(elapsedRealtimeMs);
                if (!wlt.isRunningLocked()) { // only tell statsd if truly stopped
                }
            }
            if (type == WAKE_TYPE_PARTIAL) {
                if (mAggregatedPartialWakelockTimer != null) {