History log of /packages/apps/Settings/src/com/android/settings/wifi/WifiSetupActivity.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
610fdf334338ad68e22e0c23224ed6bcdad9bac5 16-Sep-2014 Maurice Lam <yukl@google.com> [WifiSetup] Update connection state for auto-finish

In Wi-Fi setup, when the connection state changed, query
ConnectivityManager for the latest Wi-Fi connection state instead of
relying the NetworkInfo attached in the intent, because the first
network info upon changing AP still shows the network as connected.

Bug: 17511772
Change-Id: I9c7765086dc8fbc5e1c2a37124ca89db3eab04a3
/packages/apps/Settings/src/com/android/settings/wifi/WifiSetupActivity.java
7a77a8b2a43ed3a7a8ba3cd2623e4dfdbdcf6e23 11-Aug-2014 Maurice Lam <yukl@google.com> [WifiSetup] Fix colors during setup

Fixed background color for dark theme, Wi-Fi icon color for light
and dark themes, "Add another network" button color for light and
dark themes. Created wifi_signal_colored which uses wifi_signal_color
to tint the Wi-Fi icon.
Also fixed theme extra propagation.

Bug: 16903606
Change-Id: Iab24828f888d7827184762d0d63d139d0a2c381e
/packages/apps/Settings/src/com/android/settings/wifi/WifiSetupActivity.java
569aec7b4d6cc9e5268a059d9f18f271afadb706 25-Jul-2014 Maurice Lam <yukl@google.com> [WifiSetup] Fix auto-finish suppression logic

The flag needs to be saved into the instance state, and the flag is
set as soon as auto-finish occurs to avoid multi-launching the next
activity.

Bug: 16561238
Change-Id: I954b7ff77b2d2fc35684ea59cca7d7cd588a6aab
/packages/apps/Settings/src/com/android/settings/wifi/WifiSetupActivity.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/WifiSetupActivity.java
f13c783f6b91aeaa4528d9b003a600636750f6b4 24-Jun-2014 Maurice Lam <yukl@google.com> Merge "[WifiSetup] Removed button bar"
3c9ca35ebc238b5aff028a1270fe84beb120bc56 19-Jun-2014 Maurice Lam <yukl@google.com> [WifiSetup] Fix WifiDialog crash

Static inner class fragments need to be public.

Bug: 15742215
Change-Id: I24410b1ad6756c090fbf15f2a2ba07aa4eae5f41
/packages/apps/Settings/src/com/android/settings/wifi/WifiSetupActivity.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/WifiSetupActivity.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/WifiSetupActivity.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/WifiSetupActivity.java
7552ff38b1b1d49ddfb89cb16e5a94a0ea476785 18-Mar-2014 Russell Brenner <russellbrenner@google.com> Improve support for default theme of WifiSetupActivity

Default theme can be either dark or light, depending on the app theme
in the manifest. When processing extras, the default was always
assumed to be dark.

Change-Id: I4598ad25ffa69b63fa91cab8b07931ba37ba7676
/packages/apps/Settings/src/com/android/settings/wifi/WifiSetupActivity.java
e8a80b5db3418ee9824e457420c3536f0eb71139 22-Aug-2013 Russell Brenner <russellbrenner@google.com> Support Holo Light theme for wifi during setup

Adds programmatic support for holo light theme, activated by setting
EXTRA_THEME to "holo_light". Light-themed graphics are still pending.

Bug: 10407819
Change-Id: I81b6bf3fdf7ca3ee72b0f921b8adf6d858415887
/packages/apps/Settings/src/com/android/settings/wifi/WifiSetupActivity.java
b5f006bf971e9a3390cc8b9a2fb4ee2861f6dbef 18-May-2012 Michael Kolb <kolby@google.com> Add seperate activity for setup wizard wifi picker to adjust theme

Bug: 6517721

Change-Id: I639122435161cd4816b82ab73f91ebbcd2df027e
/packages/apps/Settings/src/com/android/settings/wifi/WifiSetupActivity.java