| commit | 91399240c32e0f643ab014c99f8ef913e1759cdb | [log] [tgz] |
|---|---|---|
| author | Helen Yu <[email protected]> | Thu Aug 15 17:18:31 2024 +0000 |
| committer | Helen Yu <[email protected]> | Fri Aug 16 17:44:51 2024 +0000 |
| tree | f387f9c2ddf651de0423509469b103c36bb8ea05 | |
| parent | b9c8c5d5a516261bc2b0a4892f285d2f7abef816 [diff] |
Add conditional check for `READ_WIFI_CREDENTIAL` before calling `getPrivilegedConfiguredNetworks`. `getPrivilegedConfiguredNetworks` was called by the `wifitrackerlib` library which causes issue for the devices that did not pre-grant `READ_WIFI_CREDENTIAL` permission. Conditionally replacing it with `getConfiguredNetworks` when the permission is not pre-granted. Test: ran presubmit Bug: 356925349 Flag: EXEMPT bugfix Change-Id: I2ce319d6b39aa9977357d0de33a65d236fe13fa6