Merge "Allow NetworkAgent "immutable updates" to NetworkCapabilities"
am: b35719a057 Change-Id: I0ab76de59e87c46a6961229399ff7200bce49838
This commit is contained in:
commit
eea3a77efc
1 changed files with 7 additions and 4 deletions
|
|
@ -770,7 +770,6 @@ public final class NetworkCapabilities implements Parcelable {
|
|||
|
||||
StringJoiner joiner = new StringJoiner(", ");
|
||||
|
||||
// TODO: consider only enforcing that capabilities are not removed, allowing addition.
|
||||
// Ignore NOT_METERED being added or removed as it is effectively dynamic. http://b/63326103
|
||||
// TODO: properly support NOT_METERED as a mutable and requestable capability.
|
||||
final long mask = ~MUTABLE_CAPABILITIES & ~(1 << NET_CAPABILITY_NOT_METERED);
|
||||
|
|
|
|||
Loading…
Reference in a new issue