WifiServiceImpl: Fix package removed handling

When package is fully removed (unlike app disable), then
getApplicationInfo will return NameNotFoundException exception.

Bug: 151107194
Test: atest com.android.server.wifi
Test: Manually verified that user approval for network request were
cleared after uninstalling CTS verifier app.

Change-Id: I50b8d4b67b6481c42b6157d6534f78bb08fb9d28
2 files changed
tree: 59c64e24995c796b6104906bcbef20a77fe43829
  1. apex/
  2. service/
  3. PREUPLOAD.cfg