commit | 553969769d6883acbef78186fbc50f416e349adf | [log] [tgz] |
---|---|---|
author | Hansen Kurli <hkurli@google.com> | Fri Oct 28 03:31:17 2022 +0000 |
committer | Hansen Kurli <hkurli@google.com> | Mon Nov 14 03:42:32 2022 +0000 |
tree | 3df59a9bdf504601e43fb493c396cb2213526fc5 | |
parent | 85bee9ee79be3338cce8360062117293378fd5c8 [diff] |
Disconnect network when captive portal returns unwanted. When the user selects "Do not use this network" in the captive portal app, it indicates that the user does not want to log in and does not want to use the network. Thus, the network should be disconnected. Internally handle the network disconnect in ConnectivityService upon receiving a captive portal app response of APP_RETURN_UNWANTED. Test: atest ConnectivityServiceTest Change-Id: I789ddb663b533a71a77ed435fa91b0c20d3bbfd4