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

Skip to content
Commit 7f707ac3 authored by Yinchu Chen's avatar Yinchu Chen
Browse files

fix BLE scan could be started even screen is off



AOSP logic only allow APP to start BLE scan when screen on if
APP doesn't set any filters.

But if an APP set a filter with all fields empty, AOSP logic still
think it's a filtered scan, it's a bug.

The logic should check whether client's filters are empty and
whether each filter's fields are empty.

Bug: 290856528
Test: atest testScreenOffStartEmptyFilterScan
Change-Id: Ia9471cb7cfea684cd90ddd4626dc3c3932793af8
Signed-off-by: default avataryinzl1 <yinzl1@lenovo.com>
parent 4f3c7a98
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