WifiNetworkFactory: Handle stale user selection
Store the active network request when the user selection callback is
registered to guard against stale user interaction.
Note: The current UI flow mandates that the registration is expected only
after the request has been accepted. So, we should have an active
network request when the callback registration comes in.
Bug: 113878056
Test: ./frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Change-Id: Iaff7cb7688071fc5806b58ca7844fa6c7a3cc612
2 files changed