WifiServiceImpl: Additional permission checks for startScan

Only allow apps to scan if they have the necessary permissions to
retrieve scan results.

Bug: 78649632
Test: Unit tests
Test: Scans from settings still works.
Change-Id: I865967d6e411f0bed19b5ec592ada5a4c230f853
2 files changed
tree: 26f1d4be7e43ca0b99f20f79060f4b24b742085a
  1. service/
  2. PREUPLOAD.cfg