diff options
author | TreeHugger Robot <treehugger-gerrit@google.com> | 2020-05-19 08:55:23 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2020-05-19 08:55:23 +0000 |
commit | fc548645bcae1106c15d51b840b7a630ac8572dd (patch) | |
tree | 7db6072e1e1969606be937365ec6d8d8cf962dce | |
parent | e536cd115bddb9ea5fa38c8ceaf495b3ece78c3d (diff) | |
parent | 84d1b2fe7e867f680051df76663d8c57a5b2bd5a (diff) |
Merge "Add the NOT_SUSPENDED capability to all WiFi networks." into rvc-dev
-rw-r--r-- | service/java/com/android/server/wifi/ClientModeImpl.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/service/java/com/android/server/wifi/ClientModeImpl.java b/service/java/com/android/server/wifi/ClientModeImpl.java index 71a8cc613..e36d379c4 100644 --- a/service/java/com/android/server/wifi/ClientModeImpl.java +++ b/service/java/com/android/server/wifi/ClientModeImpl.java @@ -820,6 +820,7 @@ public class ClientModeImpl extends StateMachine { .addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING) .addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_CONGESTED) .addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED) + .addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_SUSPENDED) // TODO - needs to be a bit more dynamic .setLinkUpstreamBandwidthKbps(1024 * 1024) .setLinkDownstreamBandwidthKbps(1024 * 1024) |