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

Skip to content
Commit fb8046f0 authored by Martin Brabham's avatar Martin Brabham
Browse files

Check for null address before doing permission requirements check

If the address is null, then we do not need to enforce at all.

@SystemApi caller should not be able to pass null address due to the checks in the API.

Only setDeviceAddress(String address may accept a null

Bug: 189231649
Test: Manual test app; atest CtsBluetoothTestCases:android.bluetooth.cts.BluetoothLeScanTest#testBasicBleScan -- --abi arm64-v8a
Tag: #feature
Change-Id: I82f1effaa9259bfd2fe944fa45a8ed33b221b3aa
parent 818323fa
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