commit | e96830fe0c4f8cb2c7b5e53459c351c97969bfc4 | [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 | e9f0168b42e4594b70c987d9c3620064c0939f96 | |
parent | 37817b4bb86242c3164f2ad8cb3805b454d0226d [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