Accept MAINLINE_NETWORK_STACK permission on register/unregister softap callback check

Registering/Unregistering softap callback needs NETWORK_SETTINGS
permission which protectionLevel is signature|telephony.
Tethering need to know the client info from softap callback for
showing notification. But Tethering can't be granted this
permission because it's not either telphony package or signed
with platform key. Hence, these two APIs should also accept
MAINLINE_NETWORK_STACK permission that allow Tethering to
register/unregister callback.

Bug: 146820310
Test: atest FrameworksWifiTests
Change-Id: I11a30c48b68dbaeffe6cb36bf94ea2b13d096f9e
Merged-In: I11a30c48b68dbaeffe6cb36bf94ea2b13d096f9e
2 files changed
tree: ccee1af76a4e598c7841ecdacf563e6c98bb0847
  1. service/
  2. PREUPLOAD.cfg