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

Skip to content
Commit cb5786ff authored by Vinay Kalia's avatar Vinay Kalia
Browse files

Fix time stats in bluetooth_manager dumpsys

1. If an application starts an unfiltered scan on screen-off
then it is immediately suspended. However, the "Suspended Time"
for such a scan is not updated in bluetooth_manager dumpsys.
With this change "Suspended Time" is updated for such scans as below:

2017/08/10 15:04:01 - 5945ms Suspended 0 results (6)
      └ Suspended Time: 5942ms

2. Fix a bug in calculating "Total time suspended".

Test: Tested BLE scanning application with screen off.
Change-Id: I489cf5d6854e10fc25d4ce8e7817126391d0bc89
parent 0f9a6446
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment