diff options
author | Chalard Jean <jchalard@google.com> | 2020-02-18 20:28:34 +0900 |
---|---|---|
committer | Chalard Jean <jchalard@google.com> | 2020-02-18 23:28:20 +0900 |
commit | b3e46dad7657d2b63f42f49a8db3ba7584bb85d6 (patch) | |
tree | ed566637f3873b4c7c1b28713c45373ba08aaf4a /apishim/common/com/android/networkstack | |
parent | f998552c70a60158c9e9273434b9310be95a744d (diff) |
Send the capport fields to the system server.
The fields are behind a protection method to avoid inadvertently
sending private data to apps. This is going to the system server
which needs those fields.
Test: NetworkStackTests
Change-Id: I7c9a7a82efa364835164622d2e93977e0bcd3d8c
Diffstat (limited to 'apishim/common/com/android/networkstack')
-rw-r--r-- | apishim/common/com/android/networkstack/apishim/NetworkInformationShim.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apishim/common/com/android/networkstack/apishim/NetworkInformationShim.java b/apishim/common/com/android/networkstack/apishim/NetworkInformationShim.java index 9018888..15a2a70 100644 --- a/apishim/common/com/android/networkstack/apishim/NetworkInformationShim.java +++ b/apishim/common/com/android/networkstack/apishim/NetworkInformationShim.java @@ -44,4 +44,10 @@ public interface NetworkInformationShim { */ @Nullable String getSSID(@Nullable NetworkCapabilities nc); + + /** + * @see LinkProperties#makeSensitiveFieldsParcelingCopy() + */ + @NonNull + LinkProperties makeSensitiveFieldsParcelingCopy(@NonNull LinkProperties lp); } |