Skip to content
Commit 7e757ea3 authored by Roshan Pius's avatar Roshan Pius
Browse files

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
parent 84b031fe
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