Skip to content
Commit 6562e942 authored by Milo Sredkov's avatar Milo Sredkov
Browse files

Fix a bug in BluetoothActivityInfoCache.set()

BluetoothActivityInfoCache.set treats the provided traffic info in
BluetoothActivityEnergyInfo as deltas while it actually contains
absolute values. This leads to miscalculation of the total bluetooth
traffic stats.

Bug: 266128651
Test: atest BatteryStatsImplTest
Change-Id: I1a8866e0dc20718474a8989db8cb5f3a50da9f97
parent 5ed761ef
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment