summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorlucaslin <lucaslin@google.com>2021-05-11 00:26:49 +0800
committerLucas Lin <lucaslin@google.com>2021-05-12 09:16:38 +0000
commite97d1f548455e76e4faa7884a5b0fab48e47ca5c (patch)
tree9c978ecdf21947559fbdf935cd04e7ee8ff37e22 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentd61aae299c0ef6377b0c0fe46c29b6232c5c72aa (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: I1b8b6a3f4390adbabf92fb9e48da61c47b08b2ec Merged-In: I7b43940dc32826c70fa82f471b35bc5cb8394aad
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions