Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bdf264f7 authored by Kangping Dong's avatar Kangping Dong
Browse files

[network] add NetworkSpecifier#redact(long) and

NetworkSpecifier#getApplicableRedactions()

This is useful for custom NetworkSpecifier implementation to specify
what permissions are required to use it with the ConnectivityManager
APIs. See ag/33487708 for an example.

This will be called in ConnectivityService before accepting a network
request.

API-Coverage-Bug: 427649735
Bug: 425613703
Flag: com.android.net.thread.platform.flags.thread_mobile_enabled

Change-Id: I8ecd494e89a24c1a67eee28fd76557858fe64802
parent 3dbadc54
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment