summaryrefslogtreecommitdiff
path: root/tests/common/java/android/net/NetworkCapabilitiesTest.java
diff options
context:
space:
mode:
authorlucaslin <lucaslin@google.com>2022-03-02 10:56:57 +0800
committerlucaslin <lucaslin@google.com>2022-03-02 10:56:57 +0800
commitd2b061381482b3b4e34f213b04597522b53e16ea (patch)
tree82756b8057cfa0cc619d461b8681a21e36aaea60 /tests/common/java/android/net/NetworkCapabilitiesTest.java
parent87db609348ddc8b004230196568c8eae6419d3d7 (diff)
Rename redactNetworkCapabilitiesForPackage and update its javadoc
The API won't modify the passed NetworkCapabilities and LinkProperties, but redactNetworkCapabilitiesForPackage and redactLinkPropertiesForPackage sound like they will. To reduce the confusion, rename the API with prefix "getRedacted". Also modify the javadoc to describe more about what the API will do if the given UID doesn't have location permission. Bug: 220367512 Test: atest CtsNetTestCases Change-Id: I964f1062da1ae96df9b369b911486da1379b8a19
Diffstat (limited to 'tests/common/java/android/net/NetworkCapabilitiesTest.java')
0 files changed, 0 insertions, 0 deletions