summaryrefslogtreecommitdiff
path: root/tests/common/java/android/net/NetworkCapabilitiesTest.java
diff options
context:
space:
mode:
authorTyler Wear <twear@quicinc.com>2021-08-19 09:33:26 -0700
committerTyler Wear <twear@quicinc.com>2021-09-28 17:41:23 -0700
commit614b27badd29a2a77e120662f9e5bcf899e3393b (patch)
tree2926b511029281b202d0142bd884df3c0246f941 /tests/common/java/android/net/NetworkCapabilitiesTest.java
parent7a45f107deb5e64fa36e9271055cd51e1e47b1b5 (diff)
Check NetworkAgentInfo Map Before Destroying Network
updateNetworkInfo is called with the argument in a message, which is initialized with `this` in NetworkAgentRegistry. That means it's technically possible that CS calls tearDownUnneededNetwork, calling nai.disconnect() and queuing up a message to call this, but before it's done the NA calls sendNetworkInfo with DISCONNECTED, which never looks up the agent from the map. Throwing a ServiceSpecificException and resulting in a System crash. Bug: 196423147 Change-Id: Ia52f2b794f32c263200c14b8dc2eb6b184bff5ff
Diffstat (limited to 'tests/common/java/android/net/NetworkCapabilitiesTest.java')
0 files changed, 0 insertions, 0 deletions