diff options
author | lucaslin <lucaslin@google.com> | 2021-05-11 00:33:11 +0800 |
---|---|---|
committer | Lucas Lin <lucaslin@google.com> | 2021-05-12 09:15:37 +0000 |
commit | 0684e7a64a2c449363b3a8f5f4a420acddf6bd51 (patch) | |
tree | ef154e14ee310efff2406eaef5660e4a28927acd /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | 3b0fc6bd38a234a0221cc663eddda294d660f905 (diff) |
Fix the security issue that preloaded apps can get SSID & BSSID
NetworkMonitor sends "android.net.conn.NETWORK_CONDITIONS_MEASURED"
broadcast with Wifi SSID & BSSID. The receiver of this broadcast
is only required to have "android.permission.ACCESS_NETWORK_CONDITIONS"
permission but not the "android.permission.ACCESS_FINE_LOCATION".
It's incorrect because if the apps want to know the Wifi SSID and
BSSID, they should get the run-time permission with user consent.
Since this broadcast is not used anymore, delete it and the related
code.
Bug: 175213041
Test: atest NetworkStackNextTests NetworkStackTests
Change-Id: I12050737291c7fa0ebff4e7411b91f4c6f57a413
Merged-In: I12050737291c7fa0ebff4e7411b91f4c6f57a413
Merged-In: I7b43940dc32826c70fa82f471b35bc5cb8394aad
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions