WifiPermissionsUtil: Clear calling identity for DO retrieve

Some public API calls end up calling
WifiPermissionsUtil.isDeviceOwner(), so we need to clear calling
identity to use wifi service permissions.

Bug: 142699705
Test: atest android.net.wifi.cts.WifiManagerTest#testDeprecatedApis
Change-Id: I2bb319c99f5f542f4d7b537fb59c90367e2807ae
1 file changed
tree: 48df7ada5894a6948332f7162971c78a5d94f2a2
  1. service/
  2. PREUPLOAD.cfg