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

Skip to content
Commit aeb3d757 authored by Jack He's avatar Jack He
Browse files

AdapterService: Small refactor and fix log errors

* In multiple instances, setValue(value) which set mValue to value
  prints log with existing value instead of the incoming new value.
  This CLs corrects this issue in enable() and setAdapterService()
* Use range based for loop when possible
* Compare GattService class name by calling GattService.class.getName()
  or getSimpleName() instead of using the raw string
* Remove redundant logic in dump()
* Make mUidTraffic final as it is never re-assigned

Test: make, runtest -j40 bluetooth, turnning Bluetooth on/off
Change-Id: I707dff79373a70c5f14d9c136e8fa05752a74f42
parent 71c74dc6
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