diff options
| author | Chiachang Wang <chiachangwang@google.com> | 2021-03-29 17:19:47 +0800 |
|---|---|---|
| committer | Chiachang Wang <chiachangwang@google.com> | 2021-03-29 17:19:47 +0800 |
| commit | d841868f39ec245cc43928f3023421e397f1d41b (patch) | |
| tree | 376c12145f3dbb0b7c765becfb3f78b367955ff5 /tests/unit/java/android/net/KeepalivePacketDataUtilTest.java | |
| parent | a7542972b1c28fc7e61095d57be99c1d30c92da4 (diff) | |
Ensure SSID is not exposed to apps without correct permission
The class NetworkCapabilities has an extra field for SSID that
can be used by apps to obtain the router SSID (a surrogate for
location) without holding permission. This is a circumvention
of the permission system. Thus, add a test to ensure that
visibility of SSID for apps are controlled by NETWORK_SETTING
permission.
Bug: 183911251
Test: atest CtsNetTestCasesLatestSdk:ConnectivityManagerTest
Change-Id: I18d17093e2da37cde88b730c091c6a1deda08a8a
Diffstat (limited to 'tests/unit/java/android/net/KeepalivePacketDataUtilTest.java')
0 files changed, 0 insertions, 0 deletions
