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

Commit 1a2b39e6 authored by Adam Lesinski's avatar Adam Lesinski
Browse files

BatteryStats: Reset per-User Bluetooth and Modem controller activity

Bug:28469956
Change-Id: I4db68ecc5b7bde8dd552caadee489b7bad3d6cbc
parent df551dda
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -5611,12 +5611,12 @@ public class BatteryStatsImpl extends BatteryStats {
                mWifiControllerActivity.reset(false);
            }

            if (mBsi.mBluetoothActivity != null) {
                mBsi.mBluetoothActivity.reset(false);
            if (mBluetoothControllerActivity != null) {
                mBluetoothControllerActivity.reset(false);
            }

            if (mBsi.mModemActivity != null) {
                mBsi.mModemActivity.reset(false);
            if (mModemControllerActivity != null) {
                mModemControllerActivity.reset(false);
            }

            mUserCpuTime.reset(false);