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

Skip to content
Commit 2feb092f authored by Caitlin Shkuratov's avatar Caitlin Shkuratov
Browse files

[Bluetooth] Convert BluetoothController logs to log buffer so we'll

always have them.

We're mainly interested in the activeDeviceChanged log for b/243755182
but it'll be good to have all the logs.

This is almost the same as Id1b12dbf802cae07120f1d6cc2c0b2e3967a1c75,
but with these changes:
 - In BluetoothControllerImpl#onActiveDeviceChanged, check for null
 - Add @NonNull or @Nullable annotations to BluetoothCallback
 - Add a test case for #onActiveDeviceChanged with a null device

Bug: 246876230
Bug: 243755182
Fixes: 234774643
Test: dumped log buffer from device after connecting + disconnecting
bluetooth devices
Test: BluetoothControllerImplTest

Change-Id: I8643bd0061559c3cfc90f0741de12949be3f68f2
parent 40db12e7
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