Skip to content
Commit 28628969 authored by RD Babiera's avatar RD Babiera
Browse files

USB: remove empty stats logging for compliance warnings

Removes a call to FrameworkStatsLog.write when mUsbPortStatus
is null or when compliance warnings array is empty.

Test: atest CtsStatsdAtomHostTestCases:UsbStatsTests
Bug: 269342794
Change-Id: I7f03b66c6c713d8b2afa7905a962a458cce285fe
parent 6f7a3562
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