Wifi APIs: treat apps signed with platform key as privileged

Some OEM-signed apps are still using legacy APIs deprecated
(and restricted permissions) in Q. Those apps may be on the
data partition, and thus are not able to get a new permission
via OTA.

To preserve backwards compatibility, allow OEM signed apps
to call these deprecated apps without requiring them to get
a new permission.

Bug: 141729963
Test: atest FrameworksWifiTests
Change-Id: Ib4e007690b37577ff49af60f714cd0450a9ff456
2 files changed