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

Skip to content
Commit 5a600f5d authored by Roshan Pius's avatar Roshan Pius
Browse files

WifiScanner: Pass the band scanned in ScanData

Replace the existing |isAllChannelsScanned| variable with the exact band
that was scanned.
|isAllChannelsScanned| flag has been overloaded over the years to convey
both {2g + 5g} & {2g + 5g + dfs} scans. This was needed for wifi wake
and other clients for whom both were equivalent. For sending out
scan broadcasts to external apps, we need to identify scans with
{2g + 5g + dfs} only.

Also, add annotation for the permission required for |registerScanListener|.
This should only be available to wifi stack.

Bug: 119316884
Test: ./frameworks/base/wifi/tests/runtests.sh
Test: Will send for integration tests
Change-Id: Iea50851ef9f1e98d2e06601ba89d112cd2dd4e38
parent 79e4b948
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