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

Commit 54f2ee9a authored by Oleg Blinnikov's avatar Oleg Blinnikov
Browse files

Fake WifiDisplay address without location permission

The MAC address of WifiDisplays is now only visible to apps holding the
`android.Manifest.permission.ACCESS_FINE_LOCATION` permission when
calling `DisplayManagerService.getWifiDisplayStatus()`. Otherwise, the
device address is replaced with "00:00:00:00:00:00". Internal system
operations and broadcasts still use the full device address.

Bug: 242846520
Test: atest DisplayManagerServiceTest
Flag: EXEMPT simple bugfix
Change-Id: I01265c74d6c4200f82ad24196eb6fc19ee2e6c75
parent 2525179c
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