BatteryStats: Reset per-User Bluetooth and Modem controller activity

Bug:28469956
Change-Id: I4db68ecc5b7bde8dd552caadee489b7bad3d6cbc
This commit is contained in:
Adam Lesinski
2016-04-29 17:56:58 -07:00
parent df551dda12
commit 1a2b39e61c

View File

@@ -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);