summaryrefslogtreecommitdiff
path: root/apishim/common/com/android
diff options
context:
space:
mode:
authorChalard Jean <jchalard@google.com>2020-02-18 20:28:34 +0900
committerChalard Jean <jchalard@google.com>2020-02-18 23:28:20 +0900
commitb3e46dad7657d2b63f42f49a8db3ba7584bb85d6 (patch)
treeed566637f3873b4c7c1b28713c45373ba08aaf4a /apishim/common/com/android
parentf998552c70a60158c9e9273434b9310be95a744d (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')
-rw-r--r--apishim/common/com/android/networkstack/apishim/NetworkInformationShim.java6
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);
}