WifiScanner: Add location permission & app-ops checks
Pass in the requested package name in every request for non-privileged requests. We need the exact package name because some system app shares its uid with a bunch of modules. Retrieving the package name using the uid (via getNameForUid()) will not work for app-ops checks. Bug: 117612744 Bug: 113542524 Test: Able to see scan results in wifi picker. Test: Verified maps working with wifi scans. Change-Id: Ib9c252e351fbb6cca0b44b2d6ec993d2a2ad655e
Loading
Please register or sign in to comment