WifiServiceImpl: check caller for watchLOHS

Add a check to see if a caller has the signature only NETWORK_SETTINGS
permission before registering them to watch LocalOnlyHotspot changes.

Bug: 36760523
Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Change-Id: Ie52613269d1a0e9e361ff0a96039ee2b894a2204
2 files changed
tree: b96d0b80c96610cae88c4d42cef477cea7dfc34d
  1. service/
  2. PREUPLOAD.cfg