History log of /packages/apps/Settings/src/com/android/settings/wifi/WifiSetupActivity.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
39b467482d1bf256a111c757e9b7621c6f523271 10-Sep-2015 Jason Monk <jmonk@google.com> Depend on support lib preferences

Bug: 24576551
Change-Id: Ic6190bacd3f7582c9bbc8de972da4612bd92421e
/packages/apps/Settings/src/com/android/settings/wifi/WifiSetupActivity.java
820ee637164442a8c3678ec8e5088e8ee2611a6e 28-Sep-2015 Maurice Lam <yukl@google.com> [Settings] Remove dependency from SUW nav bar

Remove setup wizard navigation bar as one of setting's dependencies,
since all the users are using setup wizard library, which includes
the navigation bar as one of its components.

Change-Id: I4ce2b8639155b813a782115725c88d5b1c5c8bfc
/packages/apps/Settings/src/com/android/settings/wifi/WifiSetupActivity.java
a15b87544e1037f432b88c4a73213f9529b50480 22-Apr-2015 Maurice Lam <yukl@google.com> Merge "[Setup] Use SetupWizardLayout"
a62d2c800caf3c1562ef93f207353bd86e8ddcd8 21-Apr-2015 Lucky Zhang <luckyzh@google.com> [SetupWizard] Refactor WifiSetupActivity

Refactor WifiSetupActivity to respect the conventional logic of Setup
Wizard's SubactivityWrapper. WifiSetupActivity now returns the result
code back to WifiSettingsWrapper and lets the Wrapper invoke
WizardManager, instead of invoking WizardManager by itself and letting
its Wrapper finish early.

The related change in WifiSettingsWrapper on Setup Wizard side is
ag/676788.

Bug: 20309008
Change-Id: Ia3bc2ff390404ff87c427782b5e7b345050bea03
/packages/apps/Settings/src/com/android/settings/wifi/WifiSetupActivity.java
83301b5256e3fd930d620e8e9ad5f43cd388ba09 19-Apr-2015 Maurice Lam <yukl@google.com> [Setup] Use SetupWizardLayout

Use SetupWizardLayout for the screens that show in Settings to get
better visual consistency and new features like showing a progress
bar in list view.

Bug: 19594252
Change-Id: I53ab17a4c2d922a362e3762f1cdccb512f7d8f6e
/packages/apps/Settings/src/com/android/settings/wifi/WifiSetupActivity.java
bddc56648569ed21b696ca5451cd1fc82009bb43 04-Mar-2015 Maurice Lam <yukl@google.com> Use SetupWizardLib helpers

Use SystemBarHelper, WizardManagerHelper and themes from Setup Wizard
Library.

Bug: 19594252
Change-Id: I60b6ab4f086a170ac270fb08325fc42010293523
/packages/apps/Settings/src/com/android/settings/wifi/WifiSetupActivity.java
3f7c09bd5ab386290b5391154f26d7c11b0a64ea 22-Jan-2015 Maurice Lam <yukl@google.com> [WifiSetup] Make dialogs immersive

Added a dialog specific applyImmersiveFlags method that adds
immersive flags without the LAYOUT_ flags. The LAYOUT_ flags causes
the dialog to not resize when IME is visible, and the dialog doesn't
need to be drawn under the navigation / status bars anyway.

Bug: 17759269
Change-Id: I0186e85d9f398af73c511b1a5ec6e83febe97f83
/packages/apps/Settings/src/com/android/settings/wifi/WifiSetupActivity.java
598be1eab6b6aa76033acb8534330731962e986a 09-Apr-2015 Maurice Lam <yukl@google.com> Add support for material_blue theme

Add support for material_blue theme, which setup wizard is going to
use for M. This changes SetupWizardUtils.getTheme to always return
either SetupWizardTheme or SetupWizardTheme_Light, and added the
theme value "material" blue.

Bug: 19729981
Change-Id: I63678312af4942be358b92a58b1c84f89aaaa6c1
/packages/apps/Settings/src/com/android/settings/wifi/WifiSetupActivity.java
9fe89bbb2e0750f1bf9620431b2388abd313d33e 13-Jan-2015 Lucky Zhang <luckyzh@google.com> [Settings] Wifi Setup responds to other connection state change

Made use of the two new extras isNetworkRequired and ifWifiRequired in
deciding the ui state of the wifi setting. The CL that adds these
extras in setup wizard is here (http://ag/612291).

Added logic to update the next ("skip") button state accordingly:

(1) "Skip" button should be enabled if
- wifi is not required and network is not required
- or wifi is not required, but network is required, and we have a
valid network connection

(2) "Skip" button should be disabled if
- wifi is required
- or wifi is not required, but network is required, and we have
no valid network connection

Note that the newly added logic is only run if wifi is not connected. If
wifi is already connected, the next button will show "next" and be
enabled.

This fixes the bug where wifi settings in setup wizard does not respond
to mobile data connection change.

Bug: 18783746
Change-Id: I155dcb158f790dd96a71099339f64b64cc647da0
/packages/apps/Settings/src/com/android/settings/wifi/WifiSetupActivity.java
50ac12e222db3847e04938f2280ad5f38f7b82f2 10-Dec-2014 Emily Bernier <ember@google.com> Listen for CONNECTIVITY_ACTION broadcasts in WifiSetupActivity

In some cases, NETWORK_STATE_CHANGED_ACTION broadcasts are sent before
the current network state has been updated in ConnectivityService. Listening
for CONNECTIVITY_ACTION broadcasts as well ensures that we properly catch
new connections and auto-advance appropriately.

Bug: 18503725
Change-Id: Ia414d57d196d09171342fb3ae93c7e826cb1a1aa
/packages/apps/Settings/src/com/android/settings/wifi/WifiSetupActivity.java
ab4fb49ab1d9e918885b5a4ea6a79102ac44612b 01-Dec-2014 Maurice Lam <yukl@google.com> [WifiSetup] Swap buttons position in Skip dialog

According to material-spec, buttons that keep users in the same
screen should be on the left (negative button) while button that
intorduce changes should be on the right, even if the action is
destructive.

Bug: 18542108
Change-Id: I335f83c6bb810cd43aeda28566baacea39435c57
/packages/apps/Settings/src/com/android/settings/wifi/WifiSetupActivity.java
52c75baa122e9a8a1c27f54c3884253d2360e257 25-Nov-2014 Maurice Lam <yukl@google.com> [Setup] Theme ChooseLockGeneric for setup wizard

This is step one of theming the set-up lock screen flow to match the
setup wizard theme. This shows the general approach of creating a
subclass of both the activity and fragment and overriding methods to
achieve the desired behavior for setup.

ag/594000 is a much more comprehensive change for what the final
change will look like.

Bug: 18482708
Change-Id: Idff34937f39f46a0c488df2cae4c46155b80cab7
/packages/apps/Settings/src/com/android/settings/wifi/WifiSetupActivity.java
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