6a627652cbac48a7d5bea5bc81772f90d7d82af9
We have been using forget() to prevent auto-reconnection when the user hits back to Wifi setup. This has the side effect of forgetting networks, which is undesirable especially for password protected APs. The new mechanism keeps a flag on whether the user has selected a connection. Only auto-advance if the user has picked a network and there is a valid WiFi connection. The new EXTRA_REQUIRE_USER_SELECTION can specify whether a user selection is required initially. That is, whether to auto finish if the system connected to a network without user input. The default is false so WiFi can be skipped if the user started setup wizard with a valid WiFi connection (e.g. after System Update). Note that a user selection is always required when the user goes back from the next screen. Since the new AP dialog does not have a connect button, the SKIP button in the navigation bar also changes to NEXT when there is a valid WiFi connection, so the user can hit NEXT if they decided not to change the network. Bug: 15333554 Bug: 15999487 Change-Id: I98e935b8e09e470a0c49c44bc299bb2eced98634
am
70ce016f: am d2f56f07: am ac768973: am ce11881a: Allow VPN to stay connected for some time before disconnecting it.
Description
No description provided
Languages
Java
89.8%
Kotlin
10.2%