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

Skip to content
Commit 826c31a6 authored by Omair Kamil's avatar Omair Kamil
Browse files

Check that ScanClient#stats is not null before dereferencing it.

This check already is in place for most usages in ScanManager. It's possible for stats to be null even in the case of registering and starting a scanner.

Bug: 338904991
Flag: EXEMPT, null pointer checks
Test: atest BluetoothInstrumentationTests, atest BumbleBluetoothTests
Change-Id: I2a8b0394817b71760789ab38cb3d92dabba7bfb2
parent 3deea822
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