summaryrefslogtreecommitdiff
path: root/framework-t/src/android/net/IpSecAlgorithm.java
diff options
context:
space:
mode:
authorJames Mattis <jmattis@google.com>2022-06-13 22:04:25 -0700
committerCherrypicker Worker <android-build-cherrypicker-worker@google.com>2022-06-17 23:30:52 +0000
commit99f342e229d006c5d0d7ba93449780243e386fe7 (patch)
tree43c90e10012bc46c12de2c4ac4c02ecdd31d70b1 /framework-t/src/android/net/IpSecAlgorithm.java
parentbefadfe3d124b7e6484cdc8693013513c7afb1fc (diff)
Send callback if ip provisioning is interrupted
A callback is expected to be sent on either success or failure when the EthernetManager#updateConfiguration API is called. Currently, if this API is called for an active interface and marked restricted, after the IP provisioning process is started in EthernetNetworkFactory, the interface will then processe all the onNetworkUneeded requests for the newly restricted network. Assuming no apps have requests for this particular network or restricted networks, the network will be stopped once the outstanding network request count reaches zero. If provisioning hasn't completed yet for the original updateConfiguration call, the original callback will be cleared out on stop and will never notify the original caller of EthernetManager#updateConfiguration whose call was aborted. Bug: 235907515 Test: eth unit and cts tests Change-Id: I91359272c07e090039049370ba9f438546fce3ad (cherry picked from commit 265eba982d1ba0ac9fb3d4c21ad6adc36eab049c) Merged-In: I91359272c07e090039049370ba9f438546fce3ad
Diffstat (limited to 'framework-t/src/android/net/IpSecAlgorithm.java')
0 files changed, 0 insertions, 0 deletions