Skip to content
Commit 71d39b9c authored by Weng Su's avatar Weng Su
Browse files

Create WifiPermissionChecker in SettingsLib

- Get the launched package name from ActivityManager

- Add method to check ACCESS_WIFI_STATE permission

- Add method to check ACCESS_FINE_LOCATION permission

Bug: 187176859
Test: manual test
make RunSettingsLibRoboTests \
    ROBOTEST_FILTER=WifiPermissionCheckerTest

Change-Id: Ia5de60b88fc97ef532941c0c10ebf069d4216134
parent f69119a1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment