commit | 3056b7418bfc37b601b52c90fcdd8cb1fd97e37e | [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 | 40246d7fb4d7f10caacb2d4951fb4121a702d709 [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