commit | 7f0630204adcc2fddaea25d82457036be404b7f4 | [log] [tgz] |
---|---|---|
author | David Su <dysu@google.com> | Wed May 20 19:15:40 2020 -0700 |
committer | David Su <dysu@google.com> | Wed May 20 19:15:40 2020 -0700 |
tree | 5ec914bcc662f540a491b01d4800a871a95fcc54 | |
parent | be1d76775b438a5316611a77dbf0989e73037cf9 [diff] |
Fix Wifi Metrics not uploading WifiServiceImpl#isScanAlwaysAvailable() checks for ACCESS_WIFI_STATE permission, which the metrics app does not have. Instead, call mSettingsStore.isScanAlwaysAvialable(), which doesn't perform permission checking. Bug: 157176197 Test: force upload metrics from app Change-Id: I81810626d2a55f2099b7a8bfd44db557134fb888