History log of /packages/apps/Settings/src/com/android/settings/wifi/WifiSettingsForSetupWizard.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b6c414a6d279b83f5306e9d4aaddb02e5bb8cfe1 25-Aug-2014 Maurice Lam <yukl@google.com> [WifiSetup] Progress when wifi scanning

Use a custom empty view to show the status while wifi is scanning
or off. Cannot use android.R.id.empty because in phone portrait
layout the illustration is the listview header, which will be hidden
if the list is empty and we use ListView.setEmptyView.

Bug: 17183006
Change-Id: Ie8598303f4e61f87e078008fb7a03918ba92c9ef
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettingsForSetupWizard.java
6a627652cbac48a7d5bea5bc81772f90d7d82af9 02-Jul-2014 Maurice Lam <yukl@google.com> [WifiSetup] Mechanism for suspending auto finish

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
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettingsForSetupWizard.java
5aee7d5c684f77252eb7f16b1e9f19e83c07b2ff 16-Jul-2014 Maurice Lam <yukl@google.com> [WifiSetup] Make illustration header not clickable

No more "pop" sound when the illustration is tapped on.

Bug: 16331851
Change-Id: Ib528e1d6f669f71e0c2f24164726cee47b06700b
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettingsForSetupWizard.java
588e61aa055eff73c968e2b8f45b6848bd8f7766 28-Jun-2014 Maurice Lam <yukl@google.com> [WifiSetup] L layout update

Changed the layout based on the new design mocks. Copied over
StickyHeaderListView and SetupWizardHeader. Currently using the
generic illustration but will update to Wifi setup specific version
once we get them.

Change-Id: I22bdef8c9860d419be55938e1e4a6a682db5b7e8
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettingsForSetupWizard.java
f13c783f6b91aeaa4528d9b003a600636750f6b4 24-Jun-2014 Maurice Lam <yukl@google.com> Merge "[WifiSetup] Removed button bar"
9f59de930ae14566673d4d57597b836556820b29 20-Jun-2014 Maurice Lam <yukl@google.com> [WifiSetup] Restore enableNext behavior

Partial revert of ag/475394 which moved enable-next-on-connect
behavior to setup wizard specific code. But account creation was
using it outside of setup wizard context.

Change-Id: I575976207a3ba2b5dac7e5467036e6ec7f519d9d
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettingsForSetupWizard.java
432bd3aab156de1a0421f4f5589caeca6bad3140 16-Jun-2014 Maurice Lam <yukl@google.com> [WifiSetup] Removed button bar

Removed button bar from setup_preference because the same feature
is provided in SettingsActivity already.
Also removed setup custom button because that functionality is
superceded by the navigation bar.

Change-Id: I7f853d57bb63ad3c410e2731d1485d152f806d9f
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettingsForSetupWizard.java
6776c67ac12161b3e5e25c8848b46656ea91be1d 06-Jun-2014 Maurice Lam <yukl@google.com> [WifiSetup] Use setup navigation bar

Use the setup navigation bar in wifi setup activity.

1. Include frameworks/opt/setupwizard/navigationbar/common.mk in the
make file.
2. Make WifiSetupActivity implement NavigationBarListener
3. Added the fragment in setup_preference.xml, wrapping the whole
screen in a LinearLayout
4. Moved skip and next screen logic to WifiSetupActivity, refactored
the skip dialogs into a fragment

Change-Id: Ia973c0a61faa3ead201bd10d5aa8de4bc6e091c1
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettingsForSetupWizard.java
c56c8c99e9e078dccf43c2251c3a94cf477f2812 04-Jun-2014 Russell Brenner <russellbrenner@google.com> Don't advance when recreating from bundle

The fragment is recreated from a bundle when returning from finished
activities, like the OTA and walled garden checks. Telling
WizardManager to advance to the next screen causes a duplicate
activity because WizardManager has already responded to the other
finished activity.

Bug: 15393012
Change-Id: I9817e106a0b243b3943bff6edafc228e9e002232
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettingsForSetupWizard.java
d3446c5708aff2580d4ddb9f559e72784bfac55e 23-May-2014 Russell Brenner <russellbrenner@google.com> Refactor setup wizard-related code

Extracted setup-related code from WifiSettings, putting it into a new
derived class, WifiSettingsForSetupWizard.

Set taskAffinity to com.android.wizard, for alignment with other
setup wizard-related tasks.

Change-Id: If371f219dac5d3eff8f7899c16cc6f9475be47cf
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettingsForSetupWizard.java