commit | e94d9bf54c6c1b0c54c24ed36686bc28df043e70 | [log] [tgz] |
---|---|---|
author | paulhu <paulhu@google.com> | Tue Mar 30 10:55:37 2021 +0800 |
committer | Paul Hu <paulhu@google.com> | Mon Apr 26 06:05:39 2021 +0000 |
tree | c009c3aec1a23499e10cb2ee61d78c877c9a09c2 | |
parent | e7c24a15b24ed210044a58feaf897679cc22bf05 [diff] |
Enforce ACCESS_NETWORK_STATE to getAvailableInterfaces() getAvailableInterfaces() will return available ethernet interfaces which are the information about networks. So it should enforce ACCESS_NETWORK_STATE permission check to ensure the applications are allowed to access the information. Bug: 174573778 Test: TetheringTests Test: CtsTetheringTest Change-Id: I7aaa5225d56f2feecc51ba263489ed0ce02fd651