WifiPermissionsUtil: Use getApplicationInfoAsUser for target SDK checks

To handle multi-user scenarios, pass in the corresponding app's user id
to fetch app info.

Bug: 140895783
Test: atest com.android.server.wifi
Change-Id: I0ff22e39513778b13648b226e91d8a27effc7596
6 files changed
tree: 3b9f7d7e25f9bb703999dc6a734a03979d7201d8
  1. service/
  2. PREUPLOAD.cfg