History log of /packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2e75203a6ecb81725b68bced6c5f8d5be37365f1 02-Feb-2015 Andres Morales <anmorales@google.com> Use getDefaultAdapter instead of getNfcAdapter

getNfcAdapter can throw an exception if NFC is not
available

Bug: 19227597
Change-Id: Ib95849057938066dc5760a34f16333f5423ce61f
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
f11feccf99948d166e6873315252fdaf416ae272 07-Jan-2015 Andres Morales <anmorales@google.com> Merge "Don't display Write NFC option if no NFC" into lmp-mr1-dev
64c7429ac84e2f041e64fb7094f390b7491472dc 06-Jan-2015 Andres Morales <anmorales@google.com> Don't display Write NFC option if no NFC

Bug: 18830151
Change-Id: Id5a06e6d98380f509307a6819494255524755ab1
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
5ead6b92fdcfd5da4841509be534efa6264a4ccc 27-Nov-2014 Jeff Davidson <jpd@google.com> Final platform settings UX for ephemeral networks.

Show "Connected via Wi-Fi assistant" instead of just "Connected" when
a Wi-Fi connection is ephemeral. Otherwise, treat ephemeral
connections just like saved ones - show (read-only) connection stats
when you click the network, and offer the ability to "forget" the
network, which prevents further ephemeral connections.

Bug: 18525241
Change-Id: I0d2146ab47b82d32c50b2ef883f176a6b6066713
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
99f191f5856bb266854d7b08a50523626eb70f72 06-Nov-2014 Jeff Davidson <jpd@google.com> Remove the Wi-Fi Assistant card.

Per the latest mocks, advanced wireless settings will be the only
location in platform settings where Wi-Fi Assistants are configured.
The card is no longer being used.

Bug: 13780935
Change-Id: Idddf971404532256165045665bd0a6b19966d2bd
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
b46a9194fe88a26e80d415919d191703c340925e 04-Nov-2014 Jeff Davidson <jpd@google.com> Show accurate connection status for ephemeral networks.

Configurations for these networks are not returned in
getConfiguredNetworks() and likely shouldn't be as clients of this API
would not expect them. (Note also that the ephemeral bit is marked
@hide). But the framework may connect to them regardless.

In these cases, as long as the connection status is something other
than the coarse-level DISCONNECTED, we show the status to be an
accurate representation of Wi-Fi state. (To make this possible, we
pass around the full NetworkInfo instead of just the DetailedState,
allowing us to get the coarse state where needed).

When long pressing on a non-DISCONNECTED ephemeral network, we offer
the ability to save the configuration. (Note that this flow is
currently broken and being tracked by another bug, but the behavior is
consistent with what happens when you simply click on the SSID).

Bug: 18205278
Change-Id: I30592c89546068c796f458a86bb26eb3b28c64df
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
36760c108b4b427da95afee23bc0ac7aeace9323 27-Oct-2014 Jason Monk <jmonk@google.com> Allow QS to launch adding network dialog

This allows QS to set an extra that will launch the adding network
dialog directly for a specified ssid. It will be used to take users
straight from QS to the password entry, when a secure network is
selected.

Bug: 17722817
Change-Id: I570596af906de005c505678b539f915c06e6fd14
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
fb075455bd8aa99861c28836ffefae92153a7958 19-Sep-2014 vandwalle <vandwalle@google.com> correctly report DHCP failures

Change-Id: I7a77da83dfb91d42ae18c54ae369ee8756e8f4d6
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
f4b548c0f596ab525ed492162d4654f382829257 12-Sep-2014 PauloftheWest <paulofthewest@google.com> Removed all references to "Google Wi-Fi Assistant" from Settings.

+ Removed Wi-Fi Assistant message in Wi-Fi Advanced since it was
overridden by the Wi-Fi Assistant.
+ Removed Wi-Fi Assistant message in Wi-Fi Assistant Card. Instead,
it is programatically created when the scorer is known.
+ "Google" was replaced with a placeholder.

Bug: 17457236
Change-Id: If3aab06c911ecf6ec13cbf00dea2fe9333abc1fc
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
073f07f33b49cfcde6ec6026f778a1cf00baf913 02-Sep-2014 Sky Faber <skyf@google.com> Remove UI for Forget AP as a secondary user.

Bug: 16898030
Bug: 17317819
Change-Id: I4ef17483bc1b35f2f70c23eb12d813f029b15bf0
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
de29d04fae4877de1d0ab37093ca4e721d528cfb 02-Sep-2014 PauloftheWest <paulofthewest@google.com> Fixed an issue were "Saved Networks" would not appear correctly.

Bug: 17284538
Change-Id: Id93cd93f94a59437b04d41d4b0412d3b22575e17
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
0a5402dcf9592a81f55d80dcd37629402c0dc856 28-Aug-2014 Jeff Davidson <jpd@google.com> Fix crash in WifiSettings.

SDK version is an int, not a long. (Also change SharedPreference key
to avoid issues for people who've already dismissed the Wifi Assistant
card).

Bug: 17304642
Change-Id: Ic959516b88e91edd53562703fa7db9c15ead20e4
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
a14e3f3373170ae126531a21bd9a121e0d886e53 27-Aug-2014 PauloftheWest <paulofthewest@google.com> Merge "Removed the Wi-Fi icon shown when Wi-Fi is off." into lmp-dev
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/WifiSettings.java
2b41c90fed9487ea8f83cad684d2061a1c112981 21-Aug-2014 PauloftheWest <paulofthewest@google.com> Removed the Wi-Fi icon shown when Wi-Fi is off.

Bug: 16570104
Change-Id: Iacee07c225f6609b92f1df193b682fde0a720a92
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
978d2785fbc3ae4b37c50a099f900403c58dce46 19-Aug-2014 Jeff Davidson <jpd@google.com> Suppress WiFi Assistant card until future platform updates.

This replaces the previous behavior of an increasing timeout. When the
user dismisses the WiFi Assistant card, either by opting out or
successfully configuring the assistant, the card is suppressed until
the next major platform upgrade (assuming the assistant is not enabled
at the time of the upgrade).

Bug: 16902858
Change-Id: I5373a7a743f21777b7b75a620b5a4e9004e57466
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
d60f85daadc27df47d0fb04e73f18c50ac70f3c7 03-Aug-2014 PauloftheWest <paulofthewest@google.com> Added WiFi Assistant settings.

+ Added ability to setup Wifi Assistant.
- Removed 'Avoid poor connections' from WiFi Advance Settings.
- Removed 'Optimize Wi-Fi' from WiFi Advance Settings.
+ Replaced checkboxes with switches in WifFI Advance Settings.
+ Added horizontal rule to seperate MAC/IP address text.

Bug: 15698824
Change-Id: Ia319ff5fb2566854666a07d0e77c8816a49fd3d6
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
2e7162618dab134a5e3c60b5c128dc71ff635fdd 09-Aug-2014 Jeff Davidson <jpd@google.com> Clean up Wi-Fi Assistant card.

Use a ListView header instead of a Preference to display the card at
the top of the list.

Also clean some dead code.

Bug: 16378017
Change-Id: I5a7f1d197cde071c45395b6d7f6016aa7201187a
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
3b5e4e242184d8ad4adb9366e9aee24c082be7dc 31-Jul-2014 vandwalle <vandwalle@google.com> The Settings app is listening to wpa_supplicant state change so as to update the state of the AccessPoint objects and present Wifi state to the user.

This is not right because wpa_supplicant states are transient (for instance when the WiFi Layer, at Layer 2, is going thru some harmless spurious disconnection cycle due to WiFi signal fluctuation). This cause the state of the WiFi Network to appear to be unstable to the user.

Hence, I removed dependencies on wpa_supplicant internal state.

In addition so as to improve debugging, I added the BSSID to the Wifi Verbose Logging string which is shown in wifi picker alongside the current network. This string only appear when a user goes into Developper Options and enable WiFi Verbose Logging.

The below bug is an example of situation where a spurious disconnect (a coupld seconds) handled by wpa_supplicant can cause the WiFi Settings to indicate that the link is unstable.

Bug:16140888 Wifi best network selection not smooth


Change-Id: I0e7c6b86262b88ed993c46fcdcdbab4d9b1f5ea1
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
fd19aff782bd382ae34900e5ce0f0b7410e3082f 31-Jul-2014 PauloftheWest <paulofthewest@google.com> Fixed crash when changing orientation in the Add Networks dialog.

Bug: 16479540
Change-Id: Ib42977b72039f49b5d5ae688c0b0ded1094b44e2
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
0f8e031a34a105f6dd73b0a5247a56bf1f080975 28-Jul-2014 PauloftheWest <paulofthewest@google.com> Fixed a bug where Wi-Fi would should networks out of range.

Bug: 16569017
Change-Id: Ie2d094aed2fcb1b2471ae1105b6782105e6be5ce
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
2d4d9a9067a2904ed75247f83b0f37a086a020b2 18-Jul-2014 Maurice Lam <yukl@google.com> [WifiSetup] Don't show WiFi assistant card in WifiPickerActivity

Do not create the assistant card if we are in WifiPickerActivity,
which includes setup wizard and account login.

Bug: 16382431
Change-Id: Id5eaa8040eafe5222e1a5c9276a2a10bedebfd71
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
63a1affdae1971677e7a54f90a463712ddc6ace5 24-Jul-2014 PauloftheWest <paulofthewest@google.com> Fixed an illustrious NullPointer bug on Wifi Assistant

+ The class was never instantiated...

Bug: 16543506
Change-Id: I00882df31ee986116b8fa28a54796bb3b20f2e2b
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
1a0297c544cb15ed4b56e70575b169b3889543b7 18-Jun-2014 Julia Reynolds <juliacr@google.com> Use restrictionsprovider framework in Settings.

Bug: 15305103

Change-Id: Ib0147e366fe90de3512d0cc06e2a47ee16012dff
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
878ca0edb9598de695750b72c7cd3d1c056d984c 18-Jul-2014 Jeff Davidson <jpd@google.com> Merge "Link WifiAssistant card with actual settings." into lmp-dev
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/WifiSettings.java
873fa4f2ba4385a553381c0ed15f45d1e82e8947 17-Jul-2014 Jeff Davidson <jpd@google.com> Link WifiAssistant card with actual settings.

Only show the card if we haven't already enabled an assistant, and if
there's one available on the device to enable. (For now, we enable the
first one; in the future, we can offer a selection between
assistants).

When the user opts in, we either show the standard system activity or
the custom opt-in activity if the assistant has defined one. In either
case, we only dismiss the card if the child activity indicates that
opt-in was successful.

Bug: 16376277
Change-Id: Ic92c7676c563ab8c8fb695117a053004f15f7d25
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
060e01a93e678a62d9328bc3c48555976bda7710 05-Jul-2014 PauloftheWest <paulofthewest@google.com> Added Wifi Assistant Card

+ Show Wi-Fi Assistant card above network list that scroll under the action bar with the rest of the list
+ Display a promo image and text
+ Clicking "Setup" should link to the selected Wi-Fi assistant app (must be open to 3rd parties)
+ Touching "No, Thanks" should snooze this card for 30 days / 2nd time 90 / 3rd time 180 days / then forever

Bug: 15703202

Change-Id: If74101bea630246c6bda2de3ed79fee72eca4c0c
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
e6b336d1a05752b546319a33a5f5b5c65bccf4e9 10-Jul-2014 Fabrice Di Meglio <fdimeglio@google.com> FR #14318673 Search - add synonyms

- add synonyms to be indexed at the same time as titles and sub-titles
- fix Wi-Fi keywords

Change-Id: I1cb026775592c29c2b813153574c6695e3e90f31
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
7837b999862cf341b0f124be7ace1dfc64d0a5a8 24-Jun-2014 PauloftheWest <paulofthewest@google.com> Added Saved networks UI to Wifi

+ Added Saved networks to Overflow menu
+ Moved WPS Pin Entry from Overflow menu to Advance Setting Activity
+ "Automatically manage Wi-Fi : Let a Wi-Fi assistant manage your connection"
+ "Wi-Fi assistant : <selected assistant> [cog secondary hit target]
+ MAC address & IP address list items have the static italic style
- "Avoid poor connections" from Advance Settings
- "Wi-Fi optimization" from Advance Settings

Bug: 15698824

Change-Id: Ieb25b29874752db07398dcb200ec07862779f507
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
5bdf0423f9dbc3cf5970045aacdfef79daacc430 02-Jul-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix SettingsPreferenceFragment.startFragment()

- was always passing R.string.lock_settings_picker_title as a title res

Change-Id: Iab47ef3da00e91d5ce3b6dc50c50c943bd78b08f
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
b4564c39b734227cd67e46d738caa6fb9d89c4cb 18-Jun-2014 PauloftheWest <paulofthewest@google.com> Applied some minor UI changes (see below)

+ Changed wifi icons to teal
+ Removed “Secured with …” from network status
+ Added an empty state image above text when Wi-Fi is off
+ Removed Wi-Fi Direct and WPS Push button from overflow menu
+ Added Wi-Fi Direct and WPS Push button to Advance Activity
+ Input Password Dialog: Moved Signal Strength and Security to Advance
+ Input Password Dialog: Updated Password text to Material style

BugId: #15698824 #15702808
Change-Id: I542ab9aac2c098738330c92d9183d3907c4f0b38
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
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/WifiSettings.java
204521626f63bef4a8ac2d76334b94dbb0f3aa3b 13-Jun-2014 Fabrice Di Meglio <fdimeglio@google.com> resolved conflicts for merge of f9360dbc to master

Change-Id: I2e468d83a7ce5200c59f63b4362e7bee10d0a2eb
138ff8c0457c6e1345015973668d652fa17c7c3b 12-Jun-2014 Fabrice Di Meglio <fdimeglio@google.com> Make the SwitchBar appear immediately

- change the way the SwitchBar is shown and hidden
- save its state
- remove the delay transition code

Change-Id: I07260430e6709b42517ca011f6d3c3446a626731
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.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/WifiSettings.java
653cfeeb0a84d836a107653d7e0a478a56e6cc5f 22-May-2014 vandwalle <vandwalle@google.com> when vervbose logging, keep track of a list of ScanResults per AP

Change-Id: Ib8f797de360f11eb9914a6aa44d418e1d0571973
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
c9a6698fd44492841bf83bead93b62ecba8a967e 22-May-2014 vandwalle <vandwalle@google.com> make verbose logging a wifimanager hidden API

Change-Id: I092b7f507ad4dfdab16658929f02584a1fc22ba4
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
5fe81c7cc874a5f662a4cf1b8a00ba3e974ce7b2 16-May-2014 Andres Morales <anmorales@google.com> Merge "Fix issues in Wi-Fi NFC tag code"
ae04155bbe875279d6637ffa5dda974b9af019fa 15-May-2014 Andres Morales <anmorales@google.com> Fix issues in Wi-Fi NFC tag code

An NPE + multiple comments

Change-Id: I04ffe10874cc2e9aa9f68bc551b8da98eb6f1640
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
1303dbd52a795e7280548dadafff3b4622df94b6 15-May-2014 Fabrice Di Meglio <fdimeglio@google.com> Code cleaning

- remove obsolete imports

Change-Id: I6878498047ced7fd6405b84b76bc808ee5ff49fc
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
41937766981423c9252e12e3319b2e7532739627 14-May-2014 Fabrice Di Meglio <fdimeglio@google.com> Introduce SwitchBar widget

- SwitchBar is a LinearLayout that containts a TextView and a Switch and
is intended to replace all Switches that are put in the ActionBar as a
custom view
- use the new SwitchBar for WifiSetting only for now (a later CL will
take care of all the other Setting that are using a Switch in the
ActionBar)

Related to bug #14898161 On/Off switches must move down from Action Bar

Change-Id: I5e98dbe995bba8f440d08459e09ca3ac09d3464b
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
a1ebae6f718ee5fddcb33b8464c78c581ae05d69 14-May-2014 Maurice Lam <yukl@google.com> [WifiSettings] Fix NullPointerException during setup

The wifi setup activity that setup wizard uses does not have an
action bar.

bug: 14930301
Change-Id: I14f276c1932cb725bffd765faafc0edf6f1d54f6
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
15826d4ea1428b3d1edb86866ca57a93c2252bda 13-May-2014 Fabrice Di Meglio <fdimeglio@google.com> Mode code cleaning: remove obsolete references to EXTRA_NO_HEADERS

- the EXTRA_NO_HEADERS flag as no more meaning as we are showing
the Tiles (previously named "Headers") only in the Dashboard
(which is the main Settings screen)

Change-Id: I55656de0d28ca9c84adbe6647d870838b4ac230b
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
255743990c0163332d1931e0b2081b84b51904ab 19-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> Make the WiFi switch appear again

- use the ActionBar Theme context when creating the Switch for
getting the correct Theming

Change-Id: I1c44e1b1c28bf02af4c2ac9912295106d93a60e8
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
a298f077c8e1a73e1c17c444845da7dd650443bc 16-Apr-2014 Andres Morales <anmorales@google.com> Merge "Write wifi config to NFC tag"
45f754e50618076213ed6911ff1e6c37b4db0467 11-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> Add Indexable.SearchIndexProvider.getNonIndexableKeys(Context)

- getNonIndexableKeys(Context) allow a SearchIndexProvider to tell which data
he does not want to index by providing a list of the data keys
- use this new API for SoundSettings and removing KEY_EMERGENCY_TONE related
settings if the device is not CDMA
- add a BaseSearchIndexProvider for code simplification

Change-Id: I23633ace1d7e390ee05fac0a5458a33e04e72d8d
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
ef7a40a0d65a4d3e43d454273c6334448158e555 06-Jan-2014 Andres Morales <anmorales@google.com> Write wifi config to NFC tag

Configured networks expose the option to
write config to an NFC tag. This tag can be
then tapped to another device to configure
the same network. Implemented according to
WiFi Alliance WPS spec.

Change-Id: I33a1be1610aab71cf1ab864418d494027370ebca
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
86ea97f4524fe96abeffcba3386753741989cd71 03-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> Re-enable on/off switch for Wi-Fi and Bluetooth Settings

- the switch was no more there when launching from an Intent (it was a regression)

Change-Id: I1fc95cad4523a1d3812323fb26908f925a9e623e
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
d25314d3305ed1a07b53991a978cd71219ef2a10 22-Mar-2014 Fabrice Di Meglio <fdimeglio@google.com> Settings - update for new UI (no more Drawer)

- follow the UX spec by no more using a Drawer
- the Dashboard is now a Fragment that contains the list of Headers
- the search results are also put into a Fragment that is replacing
the initial one (Dashboard or other) when expanding the SearchView
- use a SearchView for query input
- when tapping on a Header or a Search Result, re-launch Settings as
an Activity so that we are benefiting from the Activity stack for
UP affordance and BACK button
- manage UP affordance to show it only when needed
- move some Actions to the Menu in the ActionBar for allowing space
to the Search action and removing some clutter
- fix an issue with the Index and WiFiEnabler and their cached Context
that was not updated when there was a Configuration change
- simplify the SettingsActivity code by extracting some inner classes

Change-Id: I50b5f77bb44a7fade1886114dbbc820609a5e63d
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
5f3442af6f1d1141f8f4dff033d4176214281b81 21-Mar-2014 Fabrice Di Meglio <fdimeglio@google.com> Use SearchIndexableData enable state for WiFi Settings

- same as for Bluetooth
- now the remembered WiFi networks names can be indexed when
WiFi is turned on

Change-Id: I904ce6a425c21ee07ce3ee8fdc0cd71ab5a18d12
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
51bfee595c3ce587e2e26565fd9e8f4ae02c3482 21-Mar-2014 Fabrice Di Meglio <fdimeglio@google.com> Add dynamic Preferences indexing (part 2)

- change the Index SQL model. Add a new "enabled" column.
- use that column for issuing a more restrictive search query
- change the SearchIndexProvider API to pass the "enable" state
- apply it to Bluetooth settings
- refactor the list of indexable resources (SearchIndexableResources)

Change-Id: Ic900fb27cb12a285a80d953aa1aa88f0070cd986
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
fa7dc240e978b1b77bb5c80a78cd1f8c77648301 13-Mar-2014 Fabrice Di Meglio <fdimeglio@google.com> Add external Preferences indexing

- define SettingsSearchIndexablesProvider as an internal
SearchIndexablesProvider
- protect access thru using android.permission.READ_SEARCH_INDEXABLES
- update WallpaperTypeSettings and WifiSettings for taking care of
the new model
- update the Dashboard for taking care about external Icons for the
search result
- update sqlite model/version for taking care about Intents
(enable launching external applications for showing the settings)

Change-Id: I2e38599327e6480f1754f52666becce0884cee9d
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
6c9e03fd6d834009df10869a9701eee0129f915a 13-Mar-2014 Fabrice Di Meglio <fdimeglio@google.com> More code cleaning

- use var for context.getResources()
- rename var

Change-Id: I8b8b7ffdd2c83bdbec7a4f162757597032aa9fb0
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
757450247d25f207ae7ea303ccedf3f76639f43e 12-Mar-2014 Fabrice Di Meglio <fdimeglio@google.com> Merge "Add dynamic Preferences indexing"
b8dfbf140986a9c0781f268ea40914063f026436 11-Mar-2014 Fabrice Di Meglio <fdimeglio@google.com> Add dynamic Preferences indexing

- introduce a new private interface "Indexable".
- refactor Wallpaper and Wi-Fi settings to support this new
interface.
- only index saved/remembered Wi-Fi networks
- also add the capability to remove some data from the Index.

Fragments that want to publish some dynamic indexable data should
implement the "Indexable" interface and provide a static final field
named "INDEX_DATA_PROVIDER" with is the Indexable.IndexDataProvider
interface for providing the data for indexing.

Thru this interface the Index can ask what are the data chuncks to
index.

Change-Id: I31e7212c87b8218efe1a8f3028147cb19e119be6
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
565d8b7bcccd924094cceca49fcee45391441f20 06-Mar-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #13327889 Launching Wifi setting using available wifi network
...notification does not show ON/OFF button for wifi

- the notification was launching the WifiPickerActivity which is
a PreferenceActivity, so take care of this case too.

Change-Id: I64f58d4b9f75141626bb6f0266cf2f17fbb39fc7
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
263bcc8b732dbb47d3ce63904e0e05191fabbad6 18-Jan-2014 Fabrice Di Meglio <fdimeglio@google.com> Use Drawer in Settings app

- get rid of PreferenceActivity as much as we can and use fragments instead
- add Drawer widget
- add Dashboard high level entry into the Drawer (but this is work in progress and would be done in another CL)
- add bypass of fragment's Header validation when launched from the Drawer but *force* validation if external
call thru an Intent

Be aware that WifiPickerActivity should remain for now a PreferenceActivity. It is used by SetupWizard and should
not trigger running the SettingsActivity's header building code. SetupWizard is a Home during the provisionnig process
and then deactivate itself as a Home but would make the Home header to appear in the Drawer (because momentarily we
would have two Home).

Also, verified that:

- the WiFi settings still work when called from SetupWizard
- when you have multiple Launchers, the Home header will appear in the list of Headers in the Drawer

Change-Id: I407a5e0fdd843ad7615d3d511c416a44e3d97c90
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
ac57f3e1eb56998550534c1b32d99cb7b5cc2b7b 28-Aug-2013 Russell Brenner <russellbrenner@google.com> Add resources for light theme

Bug: 10407819
Change-Id: Ie232b2d48a8d67355d7c31a878ebaa79aae7c44d
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
e38ea38002290da8ed16f07ea45f0ebfb41b38cd 02-Aug-2013 Geoffrey Borggaard <geoffreyb@google.com> Adds a base class for restricted settings

Creates an easy way to ask for the restriction pin before
allowing access to a settings page. Does this to the WiFiSettings.

Change-Id: I49734f66e09b6449596412ecf6fc1113bf57ce7f
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
2dcf6083f77ea8abc200dc87eed22b8bbb45fd07 26-Jul-2013 Birdson_Chen <birdson_chen@pegatroncorp.com> Fix "Add Network" show last selected WiFi AP Dialog

When user taps Wi-Fi add network button, the pop-up dialog is not empty (it shows last selected WiFi AP Dialog).
The above is observed after the following steps:
- Launch Settings application
- Turn on Wi-Fi
- Select any Wi-Fi Access Point which is not connected previously and change to portrait mode
- Press Cancel from the pop-up and select Add Network icon in menu

Because the "Rotation" operation will cause WifiDialog re-creating and the current settings
of selected Wi-Fi Access Point is saved before WifiDialog destroyed.
Then, the saved Wi-Fi Access Point is displayed when user tap on "Add Network".

It need to clear the saved Wi-Fi Access Point when WifiDialog re-creating.

Change-Id: I3e93943e5bee405329e309c3ec88a35ee9cafc43
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
5ac904321d81a0a0b7892c5722c464dc3c693f9f 30-May-2013 Robert Greenwalt <rgreenwalt@google.com> Don't show scan-always text if it is off.

bug:9206410
Change-Id: If7e06f50d3d8db6ea198f437d4d268e65ec96c16
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
765f55f52a7e7a6e91afbeee7f1697a2cf24f8c2 24-May-2013 Russell Brenner <russellbrenner@google.com> Improved logic for Skip warning message

Use ConnectivityManager instead of TelephonyManager to determine
how device is connected.

Bug: 9118704
Change-Id: I5c1db90500591ca67e927976066a46e1f66e2e60
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
7e59f73e9cc3d93b8baa1c3e4aa59347d859dfb4 13-May-2013 Robert Greenwalt <rgreenwalt@google.com> Remove wifi scan-always dialog.

When wifi is switched off we no longer want a notification dialog
about scan-always, instead using in-panel text.

bug:8907190
Change-Id: I707f306a056068d92f69070873f1e6330b598b1e
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
91c016de410f77a291bd9cc1d1e54cf46dda7373 23-Apr-2013 Maggie Benthall <mbenthall@google.com> UI compliance for WifiSettings

Rename and reword string that appears in WifiSettings when user is
restricted from modifying the networks.

Bug: 8696370
Change-Id: I1945550c05163ebff9602e4ba8ba890fece61265
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
7e61c233061b4e87257a332be83f72f840d07c62 11-Apr-2013 Maggie Benthall <mbenthall@google.com> Implement Settings app UX for when a user has wifi config locked down.

When the user is restricted from configuring wifi:
- Leave the on/off button enabled
- Hide all menu options
- Hide all networks, and display a message saying:
"This user is not allowed to configure wireless networks."

Change-Id: I20193b552ea071740686bd9091637459e9b668b5
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
f2a9717b93e39d7e15f90e84f8b4de24da11463e 03-Apr-2013 Fabrice Di Meglio <fdimeglio@google.com> More fix for bug #8505156 WiFi properties dialog is having some issues in RTL mode

- use setPaddingRelative() instead of setPadding()
- add missing android:textAlignment="viewStart"

Change-Id: I8b981fb64686067de5998e4e218b04126bf2b2f8
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
ca8e9cd383c0131cb5e73a177ec948de577a9f60 26-Mar-2013 Irfan Sheriff <isheriff@google.com> Fix monkey crash

Bug: 8011964
Change-Id: Idafdb7b3bc22d3280e0aa93877b7e09a23270149
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
eca454ebc208c1b0d0c28dfa7669ee1cd8233d29 18-Mar-2013 Russell Brenner <russellbrenner@google.com> Enable Back during setup wizard

Aside from enabling the system back button, updated the result codes
to distinguish back (RESULT_CANCEL) from skip (RESULT_SKIP).

This CL should have been uploaded along with http://ag/284254,
which has already been merged.

Bug: 6477759
Bug: 8409375
Change-Id: I031acda1d675ee79a3166a51073113093211709d
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
13b3882049955a76432c140a9179dea406514ea1 22-Feb-2013 Irfan Sheriff <isheriff@google.com> Clean up scan handling

use regular scan API instead of obsolete active scan API

Bug: 8158647
Change-Id: I8f70e19219ad789b7501a40529bcd6b6524739e8
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
4cd0f1191b347df8cf0a550bcfd710c9c7c2bc13 06-Feb-2013 Irfan Sheriff <isheriff@android.com> am 6639dee4: am 203631b2: Merge "wifiSettings: Updating the networkinfo on supplicant event"

# By sunil duttu
# Via Android Git Automerger (1) and others
* commit '6639dee497304c359141caf9b0452699a6d64aa9':
wifiSettings: Updating the networkinfo on supplicant event
f99d52cf7156991a74f942efb081369a5a14a431 06-Feb-2013 sunil duttu <duttus@codeaurora.org> wifiSettings: Updating the networkinfo on supplicant event

In framework we update the networkId on supplicant state change
these changes in the network info should be reflected in settings.
there by updating the networkinfo.
The problem we are facing without this fix is when we have single
saved AP profile Switching off the AP when we are in connecting
tate resulting in a behavior Where UI keep showing connecting
to that AP instead of showing it as out of range.

Change-Id: I04073b9a4068f4b75216ebfd431adc126583f15c
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
fd50438e8ed3dad5e9355bd6e34d7d419aaa553c 17-Jan-2013 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix Switches padding for Settings app"
b27223f139248f92637997378d7a38d7d24f6b02 16-Jan-2013 Fabrice Di Meglio <fdimeglio@google.com> Fix Switches padding for Settings app

- use setPaddingRelative() instead of setPadding()

Change-Id: Ifd14193a5f60d303035b394616dc65a70e1ef5f9
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
de11bcec8de61d96d72f41d53599ec65c6d258c2 11-Jan-2013 Irfan Sheriff <isheriff@google.com> Update enterprise API usage

Also, remove the unnecessary keystore lock/unlock checks since these
are now controlled at lockscreen

Change-Id: If65c4029d4cf2b8377fbc3512c9f691572125995
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
56a166e9e3cac96246bd724ceea96846fc9e41e1 20-Oct-2012 Russell Brenner <russellbrenner@google.com> Added info about why Wi-Fi is required

Added a new optional textview to wifi settings, informing that wifi
is required during setup. For use on Nakasi 3G.

Bug: 7383934
Change-Id: I231472438e61ccddedc1e680a362f90738d64a2d
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
3067fbce2ebd74432cba03313a15fd4ead56265d 10-Oct-2012 Russell Brenner <russellbrenner@google.com> Return RESULT_OK when wifi connection established

Two new exit points were not setting a return result. Since the
default result for an activity is RESULT_CANCEL, Setup Wizard was
continuing as if no connection was made.

Bug: 7298234
Change-Id: I44085f38ed021b7d417f9794b3341747f00300e9
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
88c9f2889fafb53a2875418317ecd197d9aae883 27-Sep-2012 Russell Brenner <russellbrenner@google.com> Show warnings when skipping Wi-Fi connection

If user skips over Wi-Fi, warn about possible carrier data charges or
inability to receive updates, depending on whether or not phone
service is available.

Note to translators: Some strings are being moved here from setup
wizard. They're tagged with their msgid's so as not to trigger
retranslation.

Bug: 7211786
Change-Id: Idec7863377bd453d1808b26ee3da75f8310b32e0
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
b08739003aa2cbc4dfe650f6badda8cfe2be1e76 28-Sep-2012 Wink Saville <wink@google.com> Merge "Fix an NPE in WifiSettings." into jb-mr1-dev
001e14a118e8d5c0fac5876439dc0356d7943eb7 28-Sep-2012 Wink Saville <wink@google.com> Fix an NPE in WifiSettings.

Under stressful conditions, like the Monkey tests, getActivity() can
return null. We assume this occurs when the fragment has shut down but
asynchronous commands are returning results. This change adds appropriate
null checks but assumes during normal operation the checks are not needed.

Bug: 7152711
Change-Id: I7a3736ccead33738dab1a36e78ae1d8042db6e94
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
852cfa9335d8abbc164ae6a3b6b25e7da7e9a0fd 20-Sep-2012 Russell Brenner <russellbrenner@google.com> Move super call to top of onActivityCreated

The historical reasons for not calling super.onActivityCreated early
on appear to be no longer relevant.

Bug: 6935999
Change-Id: I63aad8a4c70ce938ecb07541267cad44e3e18e13
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
df5a62e30be409d2b80c896fa333d155a9198522 12-Sep-2012 Christopher Tate <ctate@google.com> Don't crash during setup of secondary users

Make sure to call super.onActivityCreated() even in the short-circuit
case where there's an early 'return'. This has probably been broken
for a long time but was never exercised while bringing up a new-from-
scratch device, but is the usual code path now for secondary users.

Change-Id: I0c1a5116440908d65750133689507917307e1dcd
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
0cd75608c0dc6f4a33e8ff944478945083430394 25-Jul-2012 Irfan Sheriff <isheriff@google.com> Merge "Use updated WifiManager API"
5cd1bbda7d5f13d36a8d0144ed5310064a760bee 10-Jul-2012 Irfan Sheriff <isheriff@google.com> Use updated WifiManager API

Change-Id: Ia02fc8a7eafa84fa4eddeeefafa7fecaac82903e
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
79d8e80a304922c34a6bd344f1fa49dd7dfd106d 20-Jul-2012 Fabrice Di Meglio <fdimeglio@google.com> Make Settings app aware of layout direction

- see bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)

Change-Id: I696c0f66a16640af767da3c05b5d300fd2284ecb
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
58d6ffc5f56a94afade76ac8dc434c6e3d43fd6d 08-Jun-2012 Russell Brenner <russellbrenner@google.com> Disable notification alerts in Settings for SUW

When activated by Setup Wizard, disable notification alerts and other
status bar flags as also done by Setup Wizard and GSF.

Bug: 6645469
Change-Id: I43ef5c2a5fa3f53434a1aaa968de50d91b0d78ce
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
9d5a6eb4d7ec662e666dc5dfe1506616d5b59341 23-May-2012 Michael Kolb <kolby@google.com> Match setup wizard wifi settings with new wireframes

Bug: 6521472

Change-Id: I159d8a98327ad775b2c5ccfc7380d60d62b54dad
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
1c0a8f953ba85bd21660a44dbbf891f313367196 17-May-2012 Russell Brenner <russellbrenner@google.com> Merge "Wifi select screen redlines" into jb-dev
4837a691ceb4a5d7114d3f3be8352dde3e0f084c 16-May-2012 Irfan Sheriff <isheriff@google.com> Use icons in wifi settings

Bug: 6469022
Change-Id: I1bbd7681f3800db9387eb998da78cf0a42109600
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
fc86669031e9c11efa688cbf95e53c77dbc0a03d 14-May-2012 Russell Brenner <russellbrenner@google.com> Wifi select screen redlines

Bug: 6458336

Use proportional layout when wifi settings is used
by setup wizard

Change-Id: I91f50df29b23b1bece9cbd65a1426f8bc8d7c7f7
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
e99006f75b2639dbe910a318516f13b13af47480 16-May-2012 Russell Brenner <russellbrenner@google.com> Merge "Add wps icon to wifi panel" into jb-dev
fc1281e6a80951321d9bc46c8eee27da1a4ba3ed 16-May-2012 Russell Brenner <russellbrenner@google.com> Add wps icon to wifi panel

Bug: 6449333
Change-Id: Iba74e895105253594bcfe8f0d98353714a816065
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
53fa78fcb237e52733d00a93a29485c4b3d7d290 15-May-2012 Irfan Sheriff <isheriff@google.com> Merge "Push wifi direct to overflow menu" into jb-dev
0c925dc71598c3042c75143a57331acf1c949cd0 15-May-2012 Irfan Sheriff <isheriff@google.com> Push wifi direct to overflow menu

Bug: 6469022
Change-Id: I62e4b4372416a5fbaf43a52be71f7291b761997b
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
44a49ed67e96c739eabf09520ef432c7f421b486 10-May-2012 Russell Brenner <russellbrenner@google.com> Include Add Network button for Setup Wizard

To allow first-time users to set up on networks with hidden SSID,
include this button on the action bar. Temporarily using
placeholder text until artwork is available.

Bug: 6446220
Change-Id: I437ad3f37b42b93f7a0c6838cbb0c5090073e32d
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
0575736cdc13bd08e42a954c7699d3937679b561 06-May-2012 Andrew Flynn <flynn@google.com> Allow WiFi picker to exit after a valid connection is made

Choice is passed in via boolean extra and has two effects:
* A valid network connection exits the picker.
* The next button (if there is one) is hidden.

This functionality will be used for SetupWizard initially.

Bug: 6428046
Change-Id: Ieeed3a9f1013cccd76bd4762131747a57a38ce9c
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
bfff317559045481a71acf2bd8f6c304f078c457 08-May-2012 Andrew Flynn <flynn@google.com> Hide Back button when requesting intent says to

Change-Id: I79ed35843500f20367568510ea8df3afe543ede8
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
cfadc35af8236cedb157a89b3c591c1afb2b761c 06-May-2012 Russell Brenner <russellbrenner@google.com> Add WPS Push Button back into Setup Wizard Wi-Fi

This isn't yet the image button shown in the UX flows, but pending
artwork and some potential tricky Preference layout changes, this
will give access to the WPS functionality.

Bug: 6449333
Change-Id: Ibda0e48cf972dad10c7e92a7482fca9b3c104559
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
a90015c2c9795479ce6f1896f443948d615fd0c5 01-May-2012 Irfan Sheriff <isheriff@google.com> Merge "Add wifi direct menu only for supported devices" into jb-dev
e8d79cf188a79c44ea6a801c2e101564ab630288 01-May-2012 Irfan Sheriff <isheriff@google.com> Add wifi direct menu only for supported devices

Bug: 6421096
Change-Id: Iaf0ad85e97be8d750dd74808f840c6731d8130fd
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
3ab5c6838f01cd6306c0ca2728f3c01e29a8318f 28-Apr-2012 Irfan Sheriff <isheriff@google.com> Ignore invalid network forget

Bug: 6397063
Change-Id: I066bd45e95b7e8671bc7dfcb83e46246f110b3a9
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
fc5dd2cbf0d614f661d513ba6e672b8731d8ea6b 23-Apr-2012 Russell Brenner <russellbrenner@google.com> Restore look of Wi-Fi panel for Setup Wizard

As part of the Wi-Fi refresh, this CL hides the action bar, menu, and
Settings icon in the context of the Setup Wizard. Dead code related
to WifiSettingsForSetupWizardXL has also been removed.

Bug: 5364589
Change-Id: Ib6716500153879b939a18a7007f1f6521b73890b
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
9da80a90bec430c52f78d6a951687a208d311d9e 24-Apr-2012 Amith Yamasani <yamasani@google.com> Fix NPE due to delayed event handling.

a.k.a., annoying monkeys.

Bug: 6336430
Change-Id: Ie038a71d0ae66b3f30ccd704529f767fa2058542
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
b0b37ae21c172491bc170659b5f429601858ddc1 24-Apr-2012 Amith Yamasani <yamasani@google.com> Help menus for several screens.

Bug: 5144896
Change-Id: Ib2f5146f6f62f2a33261bb165c3bf1bf13b22f38
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
6243e8e466fae6d1828e1862586c07fc4eabf4c7 09-Apr-2012 Vishal Mahaveer <vishalm@ti.com> Wifi: Update message when scan result is empty

Handle case when Wi-Fi scan result is empty

Change-Id: I03ccbf2603367efa3c6dfe20514e8c7c5a68b5d9
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
6ac5554d3006451c2d0bf9250a6ac9e77d572b0d 07-Mar-2012 Irfan Sheriff <isheriff@google.com> P2p UI fixes

- Move Wi-Fi direct as a setting in Wi-Fi
- Handle some UI refresh issues

Change-Id: Idc43a2ca98acc4b904ca1f5fe0b1447ee612f218
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
90380120e72a9bebd2fd198372c423afc9b0eeec 28-Feb-2012 Irfan Sheriff <isheriff@google.com> Enhance and fix WPS UI

- Fixes WPS usage for open network
- Exposes WPS on UI for easy access to push button and pin based techniques
- Adds support for cancelling WPS
- Adds a dialog that reports a progress since WPS can take quite a bit of time
to complete

The WpsDialog code is enhanced from contribution by yoshihiko.ikenaga@jp.sony.com
on partner source.

Change-Id: Ib0103507e0192e8195e7bfeb1c8e8855c20e23ca
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
8f2f08e0eefaea2cff27beae9c43b3baac81dee6 24-Feb-2012 Irfan Sheriff <isheriff@google.com> Use new WifiManager API

Change-Id: I9cc092e98412146a07c1829cacab47b8cea0bc9a
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
09a9b38fbccd4c6e62f042d8bb326f9b6ef9a8f0 14-Feb-2012 Irfan Sheriff <isheriff@google.com> Add support for wifi verification before connect

Change-Id: Ie1fb9c2fad4f75985077236eab61c296314f4fe4
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
cc38b493927167f9c8aa43020c1bf4d3a870abf0 26-Aug-2011 Isaac Levy <ilevy@google.com> WifiSettings cleanup; emptyListi() instead of null

Change-Id: I0fced1f00ff259aed98988f0913383c50a3c6427
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
fdac5bae251bd0b569c38aa8575b89ba0895911c 25-Aug-2011 Isaac Levy <ilevy@google.com> Speeding up WifiSettings AP list printout

Change-Id: Idc82ba7320469e05984ba6ac9f7d2cf927dfaa00
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
9284d48a8a2da4b84ebe4efeb9be7385b85267da 23-Aug-2011 Irfan Sheriff <isheriff@google.com> Merge "Autojoin new unsecured networks without dialog"
22d441acdba0fb7b99f5958ddd0198f4c371b2a7 23-Aug-2011 Isaac Levy <ilevy@google.com> Autojoin new unsecured networks without dialog

Unsaved, open wifi networks will connect on single click
without opening the connect dialog box

Change-Id: I71da155aa8b711309f0ed7eca4bd22a254db28c5
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
348b62e6e9568166a17b1304296e0f08aee97cf5 20-Aug-2011 Gilles Debunne <debunne@google.com> Bug 5078738: some options moved to overflow menu

Change-Id: I4ea41dfcd2b0d05de870fb8af5a7614970538491
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
e1246c52632adff6623c525958c875690fa996b0 18-Aug-2011 Jeff Sharkey <jsharkey@android.com> Merge "Follow preferences padding changes in framework."
8b2bf2e53814a20f09f658554cde61657df8ac99 12-Aug-2011 Isaac Levy <ilevy@google.com> Changed wifi status lines per UX consult

Change-Id: I656fa2c5c52338b320796a919edb5018e7b68851
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
dcf8ba9eb233b4dadd1e198b7ec6ba413c6583c1 17-Aug-2011 Jeff Sharkey <jsharkey@android.com> Follow preferences padding changes in framework.

Change-Id: Ia83237290da035e5ee7a2e92ef56fc02838aac56
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
c1eab91f073313d84e67b4626f008aa3520c9f3a 08-Aug-2011 Gilles Debunne <debunne@google.com> Wifi state reset when disconnected

https://review.source.android.com/19086

Change-Id: Ie7367f2240b94569fed3120244f1cb268bb09206
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
3d13110d40b972a44c80558e0179323f9b330b2f 04-Aug-2011 Amith Yamasani <yamasani@google.com> Save and restore wifi dialogs on screen rotation.

Bug: 4981732

Change-Id: If065f9af93af405d954fde044351e473d62ea91b
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
cd8e5246f1d538384dae87b8d2867ba3e44a6981 25-Jul-2011 Gilles Debunne <debunne@google.com> Text instead of icons in account settings options

Also changed the default style to remove the opaque title background.

Change-Id: I948d9a15961223c3703bb607e2e5a6bf41e0ff5e
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
b98463f8b0de186dc263217286449a76d6df91a8 30-Jun-2011 repo sync <isheriff@google.com> Updated: Wi-Fi p2p initial UI implementation

Change-Id: If60f42f76fa07a868d2e11b012b4697252c69f5f
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
18e9992a5e5f515566aa9ea861b2e1a3c2450ebc 30-Jun-2011 Gilles Debunne <debunne@google.com> Changed text and appearance when Wifi/Bluetooth is off

A TextView is used as an empty view, centered on screen with the message.

Change-Id: I33825775d6b2ed212e5839cfac84d055b9336667
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
dcff7338ad5dd9a883c735afaed1a0e73ae8eb74 01-Jul-2011 Gilles Debunne <debunne@google.com> AdvancedSettings replaced by AdvancedWifiSettings

Change-Id: Ie51d14c9961e8780c8774bbe56e113cf85357817
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
dc7101ff883d3b91a7b5d2d0e813109aa05d1af3 27-Jun-2011 Gilles Debunne <debunne@google.com> Split ActionBar in Settings

Made menu item visible to force action bar, changed style.

Also change parent_fragment for items that have been moved to top level (wifi,
bluetooth, development, battery).

Change-Id: I62932ba55356abdfbf94942f5b4efaa0f15dbd6a
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
e78c1879058571c00879f0d3e756951302adf513 21-Jun-2011 Gilles Debunne <debunne@google.com> Settings refactoring

Wifi and bluetooth pane refactored, main toggles moved to left pane.

Change-Id: I42ea4cf3bdf24158f3c67e0dea311258206cd78a
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
32232fd9f2751b8618111831749ace5c9df021e8 09-Jun-2011 Irfan Sheriff <isheriff@google.com> am 4a1b8898: am f448c32d: Merge "Fix UI settings display issues" into honeycomb-LTE

* commit '4a1b8898c76a98f14bbc1690f172ec0e6171fab2':
Fix UI settings display issues
317e0aa530760ee323c7a98321d9b34a2ffa1d41 07-Jun-2011 Irfan Sheriff <isheriff@google.com> Fix UI settings display issues

- Update access points to reflect the latest IP configuration
- Show IP list for static IP networks

Bug: 4391449
Change-Id: If8fb6fe8bdca9d6e635b1b12927c17e1661f200c
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
d4023b7cca11e33e84df39dee9e9a737efab47c2 25-May-2011 Brian Carlstrom <bdc@google.com> Integrating keystore with keyguard (Part 4 of 4)

Summary:

frameworks/base
keystore rewrite
keyguard integration with keystore on keyguard entry or keyguard change
KeyStore API simplification

packages/apps/Settings
Removed com.android.credentials.SET_PASSWORD intent support
Added keyguard requirement for keystore use

packages/apps/CertInstaller
Tracking KeyStore API changes
Fix for NPE in CertInstaller when certificate lacks basic constraints

packages/apps/KeyChain
Tracking KeyStore API changes

Details:

frameworks/base

Move keystore from C to C++ while rewriting password
implementation. Removed global variables. Added many comments.

cmds/keystore/Android.mk
cmds/keystore/keystore.h
cmds/keystore/keystore.c => cmds/keystore/keystore.cpp
cmds/keystore/keystore_cli.c => cmds/keystore/keystore_cli.cpp

Changed saveLockPattern and saveLockPassword to notify the keystore
on changes so that the keystore master key can be reencrypted when
the keyguard changes.

core/java/com/android/internal/widget/LockPatternUtils.java

Changed unlock screens to pass values for keystore unlock or initialization

policy/src/com/android/internal/policy/impl/PasswordUnlockScreen.java
policy/src/com/android/internal/policy/impl/PatternUnlockScreen.java

KeyStore API changes
- renamed test() to state(), which now return a State enum
- made APIs with byte[] key arguments private
- added new KeyStore.isEmpty used to determine if a keyguard is required

keystore/java/android/security/KeyStore.java

In addition to tracking KeyStore API changes, added new testIsEmpty
and improved some existing tests to validate expect values.

keystore/tests/src/android/security/KeyStoreTest.java

packages/apps/Settings

Removing com.android.credentials.SET_PASSWORD intent with the
removal of the ability to set an explicit keystore password now
that the keyguard value is used. Changed to ensure keyguard is
enabled for keystore install or unlock. Cleaned up interwoven
dialog handing into discrete dialog helper classes.

AndroidManifest.xml
src/com/android/settings/CredentialStorage.java

Remove layout for entering new password

res/layout/credentials_dialog.xml

Remove enable credentials checkbox

res/xml/security_settings_misc.xml
src/com/android/settings/SecuritySettings.java

Added ability to specify minimum quality key to ChooseLockGeneric
Activity. Used by CredentialStorage, but could also be used by
CryptKeeperSettings. Changed ChooseLockGeneric to understand
minimum quality for keystore in addition to DPM and device
encryption.

src/com/android/settings/ChooseLockGeneric.java

Changed to use getActivePasswordQuality from
getKeyguardStoredPasswordQuality based on experience in
CredentialStorage. Removed bogus class javadoc.

src/com/android/settings/CryptKeeperSettings.java

Tracking KeyStore API changes

src/com/android/settings/vpn/VpnSettings.java
src/com/android/settings/wifi/WifiSettings.java

Removing now unused string resources

res/values-af/strings.xml
res/values-am/strings.xml
res/values-ar/strings.xml
res/values-bg/strings.xml
res/values-ca/strings.xml
res/values-cs/strings.xml
res/values-da/strings.xml
res/values-de/strings.xml
res/values-el/strings.xml
res/values-en-rGB/strings.xml
res/values-es-rUS/strings.xml
res/values-es/strings.xml
res/values-fa/strings.xml
res/values-fi/strings.xml
res/values-fr/strings.xml
res/values-hr/strings.xml
res/values-hu/strings.xml
res/values-in/strings.xml
res/values-it/strings.xml
res/values-iw/strings.xml
res/values-ja/strings.xml
res/values-ko/strings.xml
res/values-lt/strings.xml
res/values-lv/strings.xml
res/values-ms/strings.xml
res/values-nb/strings.xml
res/values-nl/strings.xml
res/values-pl/strings.xml
res/values-pt-rPT/strings.xml
res/values-pt/strings.xml
res/values-rm/strings.xml
res/values-ro/strings.xml
res/values-ru/strings.xml
res/values-sk/strings.xml
res/values-sl/strings.xml
res/values-sr/strings.xml
res/values-sv/strings.xml
res/values-sw/strings.xml
res/values-th/strings.xml
res/values-tl/strings.xml
res/values-tr/strings.xml
res/values-uk/strings.xml
res/values-vi/strings.xml
res/values-zh-rCN/strings.xml
res/values-zh-rTW/strings.xml
res/values-zu/strings.xml
res/values/strings.xml

packages/apps/CertInstaller

Tracking KeyStore API changes
src/com/android/certinstaller/CertInstaller.java

Fix for NPE in CertInstaller when certificate lacks basic constraints
src/com/android/certinstaller/CredentialHelper.java

packages/apps/KeyChain

Tracking KeyStore API changes
src/com/android/keychain/KeyChainActivity.java
src/com/android/keychain/KeyChainService.java
support/src/com/android/keychain/tests/support/IKeyChainServiceTestSupport.aidl
support/src/com/android/keychain/tests/support/KeyChainServiceTestSupport.java
tests/src/com/android/keychain/tests/KeyChainServiceTest.java

Change-Id: I80533bf8986a92b0b99cd5fb1c4943e0f23fc1c8
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
1ad4824d848d67e185f06b4fdce86f1caeb0d95e 08-Mar-2011 Amith Yamasani <yamasani@google.com> am 35bc6b5f: Wifi disconnect policy summary text should not contain "mobile data".

* commit '35bc6b5f151ea073522f14067eb92aab3a99bc7d':
Wifi disconnect policy summary text should not contain "mobile data".
35bc6b5f151ea073522f14067eb92aab3a99bc7d 08-Mar-2011 Amith Yamasani <yamasani@google.com> Wifi disconnect policy summary text should not contain "mobile data".

Bug: 4026299

Change the summary if it is a wifi-only device.

Change-Id: I433113d9fc430ab06efec81b6934a03dbb17ca1b
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
fb6f306a2bd29e3bea1447e857a8e6461c0b02c0 03-Mar-2011 Amith Yamasani <yamasani@google.com> am 665fc6aa: am b7e393bf: Merge "Bring back Wi-Fi sleep policy setting for wifi-only devices." into honeycomb

* commit '665fc6aadd07b831dcb72d1e04199fd26b6049b6':
Bring back Wi-Fi sleep policy setting for wifi-only devices.
967da9517f85be677750a63c8e6d6ff24955b4e2 02-Mar-2011 Amith Yamasani <yamasani@google.com> Bring back Wi-Fi sleep policy setting for wifi-only devices.

Have a different set of strings, since we cannot mention mobile data for
a wifi-only device.

Bug: 3487952
Change-Id: I486315da40f15807f75d85d2a077a6b234a1e3d7
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
590e6c23b7ba4bf9a75ecfe5e6eda11d0dfa5c71 24-Feb-2011 Irfan Sheriff <isheriff@google.com> Use AsyncChannel in settings

Change-Id: I440f08dec986e4dad4b578ee4065d6063b8ef989
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
0f85c48d6c77e811f4d949503f0aa3efd908834d 24-Feb-2011 Amith Yamasani <yamasani@google.com> Remove / re-word some settings for WiFi-only devices.

Bug: 3468248

1. Remove Wireless->Mobile networks
2. Remove Wireless->Tethering and WiFi hotspot
3. Remove Wireless->Wi-Fi Settings->Wi-Fi disconnect policy
4. Re-word Network location summary text to not include "mobile network"

Change-Id: I84a551a1b63591974731029b0d4b90a85e43a716
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
a93196f1651a0598d6e398f6fb3c2e513a3b7091 29-Jan-2011 Daisuke Miyakawa <dmiyakawa@google.com> Take care of null in Wifi setup.

The preference isn't available in Wifi setup launched from
SetupWizard, causing NPE.

Bug: 3404998
Change-Id: Ia0dabea95e5e7424698a269c0851d610fd305309
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
7bdf0e73d051f176fbc20451761eb50177d69f91 29-Jan-2011 Irfan Sheriff <isheriff@google.com> Move sleep policy to main settings page

Bug: 3404049
Change-Id: I091abd737894a4adb9ebfc08b8e63bc3224b971c
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
9eb18f00152cd3bb490ca1dc1ccff671ea3f3a1b 25-Jan-2011 Amith Yamasani <yamasani@google.com> Fix missing title for WiFi Advanced settings.

Bug: 3360783
Change-Id: I8c22ce5a995eab26d300402471770c082f90a34a
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
14cbcb7fe88dab90cb50efa3a09869bc48297170 13-Jan-2011 Daisuke Miyakawa <dmiyakawa@google.com> Revise layout for Wifi Setup in XLarge screen

- revise xml for new layout
- introduce padding View objects for resizing screen when
software keyboard is shown.
- We now don't show the detailed status of Wi-Fi module anymore
in SetupWizard flow (like "disconnected", "connecting", etc.)
- remove Forget button and relevant code.

Bug: 3347865
Change-Id: Ieab3246f06ee73af59e247b3f9f31c7570efc71f
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
6377e47f8b89982ebfa381542a301606a4bbb06d 16-Jan-2011 Irfan Sheriff <isheriff@google.com> Add UI to report WPS overlap error

Bug: 3354319
Change-Id: I4584bc3a820ace1232026920c4dc29e6b273461c
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
4de7499d7cee5ccbbe656ad4aa96102959356b65 16-Jan-2011 Irfan Sheriff <isheriff@google.com> Merge "Add feedback dialogs for WPS" into honeycomb
267d51a68a6e2bc40b90d199425af88a7a824f53 16-Jan-2011 Daisuke Miyakawa <dmiyakawa@google.com> Disable long-press behavior in setupwizard.

Bug: 3355243
Change-Id: Ibe15da5ced91f975ca9c9c3c4d42cbd1c753f9d4
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
dee5b268925641c2e8f6280ce817fafa7e76d953 13-Jan-2011 Irfan Sheriff <isheriff@google.com> Add feedback dialogs for WPS

Upon failure or an existing WPS session,
a dialog message is conveyed to the user

Bug: 3316078
Change-Id: Ibcf27e21058970f8f1667061c7654948c690d48e
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
4f0cd58e86c173672099f02f94b8a4a3bead574d 12-Jan-2011 Daisuke Miyakawa <dmiyakawa@google.com> Merge "Show password field when authentication failed." into honeycomb
cde3083fb539e87728a17a0bb491314530a29643 09-Jan-2011 Daisuke Miyakawa <dmiyakawa@google.com> Show password field when authentication failed.

- add onAuthenticationFailure() method to prepare
appropriate UIs.
- set "edit" boolean to true so that users can modify
password when re-seleting a network.
- keep mStatusText shown for simplicity. It has been hidden
during "editing" phase, but we don't need to do that any more
- modify Connect button handling so that the button
hides/appears at appropriate time
- manage visibility state of some fields so that
we can "reset" the status when authentication failed
- show keyboard again when password field re-appears

Bug: 3330109
Change-Id: I1cdf0573280ab46882117e21501a43a447e50b40
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
9e3a4700b6f6035c6ce79b0194ca0cff5f0f9574 11-Jan-2011 Amith Yamasani <yamasani@google.com> Remove extra button bar.

Bug: 3058024

Change-Id: Ib3c2620869729f8916178ea0c0e899635b470a8f
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
935d6e930970e550ea7134799bc587f88fb96499 07-Jan-2011 Amith Yamasani <yamasani@google.com> Don't add wifi entries twice, when returning from another activity.

Bug: 3209730
Change-Id: I7408a56fc10359e508be5a1d27492da2227335ce
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
8630cde72bde17dd3aa59326596df7b9c0d6183f 05-Jan-2011 Daisuke Miyakawa <dmiyakawa@google.com> Remove unnecessary codes around WifiSettings.

Bug: 3321110
Change-Id: Iaac35a507b8e46e2d4702f0e5cda7b515a57db67
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
0688f251af533c09682c791ae20834ab7854d7d7 28-Dec-2010 Daisuke Miyakawa <dmiyakawa@google.com> Refresh layouts for SetupWizard.

- DateTimeSettingsSetupWizardXL
- WifiSettingsForSetupWizardXL

Bug: 3308677, 3137755
Change-Id: Ifdf67aa7521de7ef0286fea2b15ce693fbf5d5ce
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
cdbc80afb2dd191e1e2938a9939a1e11b5fd17ff 08-Dec-2010 Irfan Sheriff <isheriff@google.com> Use WpsConfiguration for new API

Change-Id: I4c1544178bcb29e751db56edb781faf9145cdf86
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
c1bad6bc68020590b7d6df50fdacaa28201b006f 04-Dec-2010 Irfan Sheriff <isheriff@google.com> scan immediately when user indicates so

Bug: 3242989
Change-Id: Ia15d7a61a40b64830a7840b7d31e6b5f96b2ad78
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
afc2aacf0015fbb3a79b1f29ce552fe35efe58b7 03-Dec-2010 Irfan Sheriff <isheriff@google.com> Use new config change broadcasts

Bug: 3237735
Change-Id: I29e2807f76d54354bf501b2e7655f49386e6bf95
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
582ab4d414c21f71cf1e4df658b304d1a409c155 23-Nov-2010 Irfan Sheriff <isheriff@google.com> Act on supplicant changes only when disconnected

When wifi network state is disconnected, supplicant
state changes provide more fine grained information to display.
When network is connected, the UI should ignore supplicant
state changes.

Change-Id: I46aa8c2ba80303aae5c74415825102a13cc41380
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
52727dd1fbca7612c2179b50689cd77f8f939b1a 17-Nov-2010 Irfan Sheriff <isheriff@google.com> Restore compareTo behavior of access point list

The Comparator with TreeList that was added during
wifi set up changes does not work well since
access point can change later.

Restore the old compareTo behavior.

Change-Id: I75681fea616792e9fd134c0d71762b4e0d46ffd6
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
58b0291fe6e6e47bf3d7457d8cf2648b8ce4a1ae 09-Nov-2010 Daisuke Miyakawa <dmiyakawa@google.com> Refactor WiFi code around XL setup

Major:
- move SetupWizard-related codes to WifiSettingsForSetupWizardXL as
much as possible
- stop using Preference for configurinig wifi network. We use
WifiConfigUiForSetupWizardXL instead, which is base on a bare View.

Minor:
- change button handling code expecting better readability.
- hide Detail button.
- modify strings a bit.
- add logs

Bug: 3175016
Change-Id: I5b29917af73aac6a82e13ba846a9d5085f9bd523
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
3dd06301fae98494c779afb1adb606a1354f0323 08-Nov-2010 Daisuke Miyakawa <dmiyakawa@google.com> Use custom preference.xml in XL.

A spacer are added on the left side of each preference, which isn't
needed in XL setup screen.

Change-Id: Ie3b8e04b492b4a4840ba1bbda4a413673734fbaa
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
8b3b876c096acb93ec8736851e47e2ba3ce276e5 04-Nov-2010 Daisuke Miyakawa <dmiyakawa@google.com> Fix UI for WifiSettings for XL screen

Change-Id: I874e1e8d86e8b219414f6bf2ff945ea4f9ab7a6c
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
1dc3715e3ac5100b1531fb2bdc7232d2c3508846 30-Oct-2010 Daisuke Miyakawa <dmiyakawa@google.com> Reduce default settings in WifiSetup XL.

We don't want to show every configurations in default, while
we also don't want to complicate basic wifi logics. In order to
achive both goals, we first introduce tweaked xml file
(wifi_config_preference2.xml). It does contain all the
config components but almost all of them are in "gone" visibility.
Those components are still able to act as data storage, but never
be seen as actual UI components.

Change-Id: I4ad3c1b4cbbe77ca2b628b0be25e2b3eb9d645aa
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
e45e13f47ad5e09aa8291d81a03a136618b383c0 22-Oct-2010 Irfan Sheriff <isheriff@google.com> UI for wps pin from device

Bug: 3119043
Bug: 3112178
Change-Id: I573146ed0c834cb88d5f42c25fe0be3ed501a321
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
55de702961642521e247f155963644df81756215 22-Oct-2010 Daisuke Miyakawa <dmiyakawa@google.com> Disable Wifi when a user press cancel in XL setup

Bug: 3122182
Change-Id: Id333b9ede9093fa7fb8aa256b720effa5abf290d
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
c05efc1df7576b05d878734c7a5b220b5c9e3bb9 19-Oct-2010 Daisuke Miyakawa <dmiyakawa@google.com> UI refresh

Bug: 3110575
Change-Id: Ia6ffef6de8882920b89372052b5e29968bedfe5f
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
9cf1b00657a9af5a6a4d9692fc4fed554258515d 09-Oct-2010 Irfan Sheriff <isheriff@google.com> Fix issue with limiting access points

There should not be a limit on the general
settings screen to display access points

Change-Id: I81fd438c7464a229f00dcddca359476d8684a349
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
fef4125d4e5db8d35a3c76041fdfde9a12627480 06-Oct-2010 Daisuke Miyakawa <dmiyakawa@google.com> Disable buttons during first scan.

Also remove status manager code, as they should not be here.

Bug: 3069020
Change-Id: I6fcf8470066f96b7f608ceb519b0783e44307846
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
3b6aa41cce9dafa48dfbb3e93ea856610de1f1e7 30-Sep-2010 Daisuke Miyakawa <dmiyakawa@google.com> Improve UI of WifiSettingsForXL

Change-Id: Idd25251581577246ff3fb6820b9c569454292593
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
5d3c5cb9d0134c02ee0a5a91baa2e90d83a5dedd 29-Sep-2010 Daisuke Miyakawa <dmiyakawa@google.com> Fix misc problems happening in SetupWizard XL

Change-Id: I6ba0813f36625de3d86543953972869657be50be
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
86eaa09aa42e3281ed6c8ea85e09d4875973c4bf 24-Sep-2010 Daisuke Miyakawa <dmiyakawa@google.com> Modify implementation around SetupWizard XL

Bug: 3005211
Change-Id: Ia01957725956d570370aceeab01750d77069001a
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
b3024fa6a0359f18b93fd8aaf197fce59f806ede 17-Sep-2010 Irfan Sheriff <isheriff@google.com> Add UI for WPS

The WPS available option is shown
for networks in scan results. Upon
selecting a network, the user has
the option of manually entering passwords
or choosing WPS for connection

Bug: 2277571
Change-Id: Ia12eb1742f1bf17128d51fa09e56dc4c3f067fa5
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
7e7ae9e59d1d3b7f1346955ccb58f39f3ee769db 14-Sep-2010 Daisuke Miyakawa <dmiyakawa@google.com> Fragmentize wifi.AdvancedSettings.

Change-Id: I3dde2eb604886a8d0719549eabac76fadc74c220
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
b962d6566c99edf9950b5d05c5f08c56d1f850fe 14-Sep-2010 Daisuke Miyakawa <dmiyakawa@google.com> SetupWizard improvement: let users see "scanning"

Current UI shows nothing when there's no connection available, even when
the device is finding some. So user cannot know whether the static
"Not connected" screen means: the device is finding right now, or
actually no network is available.

Change-Id: Ia8ea1c66956e8de819f6a98362bcc9086bda172c
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
f027ce5e0223799f98f6d297b40ab57c8a7a8b5c 31-Aug-2010 Irfan Sheriff <isheriff@google.com> Add static IP UI

Remove the existing UI and add per network static IP config option

Change-Id: I9b8636e1559de9691144fdb54e20d40985896650
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
a41a9286ab80f2ed18176aa0b3261f9db7f72944 13-Sep-2010 Daisuke Miyakawa <dmiyakawa@google.com> Remove unnecessary comment.

Change-Id: I4532a3b042f3dfee4f1a1fe3c26111ed8b00d023
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
5cd60eb8aa5a4d5cf1a850ddd05d4f94eae1eb2f 02-Sep-2010 Daisuke Miyakawa <dmiyakawa@google.com> Add modifications which should have been in the change
I520d690d3301837d32f91dad54a973a379ce1989

Change-Id: Iecca6b4fef2ec42a62273035b096ccedcea94d78
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
d36699282cbd0a6897f425106081d3f2c0db55d4 27-Aug-2010 Daisuke Miyakawa <dmiyakawa@google.com> Add Wifi Setup screen for Setup Wizard with XL size screen.

* Add WifiSettingsForSetupWizardXL as a new Activity
The activity has WifiSettings fragment in it. It also contains
several buttons, texts around the fragment.

* Making configuration UI part of Preference list.
In Wifi Setup for Setup Wizard XL, WifiSettings fragment lets
a UI for configuring access points shown inside a
PregerenceCategory object, while it has been shown as Dialog.

To achieve this action, WifiDialog is decomposed into two parts:
- WifiConfigUiBase (Mainly UI part)
- WifiConfigController (Mainly Wifi controller part)

All codes for wifi configuration in WifiDialog is now in
WifiConfigController, which is reused from
WifiConfigPreference.

* Misc stuff
- Remove AccessPoint#compareTo(). Instead,
AccessPoint.AccessPointComparater should be used when needed.

Change-Id: I520d690d3301837d32f91dad54a973a379ce1989
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
9c8bde576ab18fcfe653587f3e63604430c8791c 25-Aug-2010 Daisuke Miyakawa <dmiyakawa@google.com> Fragmentize WifiSettings.

- Add button bar feature toward SettingsPreferenceFragment,
which has existed in PreferenceActivity and has been used
(probably) only by Settings app.
- super.onActivityCreated() is not called at the beggining of
WifiSettings#onActivityCreated(), the parent method assumes
the child should have prepared PreferenceScreen, while
WifiSettings cannot do until the parent Activity is ready.
- Call SetHasOptionMenu() should be called AFTER the parent
Activity is ready. It is not documented, so it would be better
to file another bug.
- Add exception to proguard...

Change-Id: Iebd27f0cb0abdbee9b4b1cc9b00f4bf127f7815d
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
d821c7adcccda6024c3e82013f1579507f528949 10-Aug-2010 Irfan Sheriff <isheriff@google.com> asynchronous API changes

Use the simplified connect, save & remove async API

Change-Id: I5754f1772163bcb4ab0ae18cab3747e17c21531a
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
7add00049ac150c4b8c0e473a9baca70cf5e8aa8 04-Aug-2010 Irfan Sheriff <isheriff@google.com> Increase scan time in settings

With the combo scan on all bands taking about 5-6s,
increase scan time in settings to 10s.

Change-Id: Ie98605a211dcb149b3bbd2c723bc10352e207cc3
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
de5302577f8c8ce117da16e3bb3e857d2831a623 17-May-2010 Chung-yih Wang <cywang@google.com> am 5dcdbb5c: am 8719f0d2: am 8c81257f: Fix the double-quoted SSID issue.
8c81257f70fabeaa505e292bd0c2226dd5eefc4c 15-May-2010 Chung-yih Wang <cywang@google.com> Fix the double-quoted SSID issue.

Bug id http://b/issue?id=2684571

Change-Id: I0f1e508b9a3d0fefcef28235380392368a51e42a
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
c02e258eaae69e475df3825aa71167a43b573b84 17-Apr-2010 Irfan Sheriff <isheriff@google.com> am e7879010: am ea87b6d7: Merge "Stop scanning after errors" into froyo
e81497095bd97a14db07d870cb9f57aa0c220078 16-Apr-2010 Irfan Sheriff <isheriff@google.com> Stop scanning after errors

When scan fails for 3 times, we show a
failure toast and continue to scan.
In one case this caused infinite toasts,
until the user stopped wifi.

Its not clear what can cause this kind of
a state since wifi disable broadcast should
stop the scans. This fix will stop scans
after 3 continuous failures. Any wifi state
change will restart scan.

Bug: 2601937
Change-Id: I68733394cb3c9b76ffb15f7579e7af6c1f54d39c
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
5536c4a052ed307028394fcd2cafe141d723e54b 10-Apr-2010 Irfan Sheriff <isheriff@google.com> am a4bbf553: am 3957b3c1: Merge "scan only when wifi is enabled" into froyo
2215c7f86895ce1400e9d0cde7ec3326713a5f5b 09-Apr-2010 Irfan Sheriff <isheriff@google.com> scan only when wifi is enabled

Bug: 2570611
Change-Id: Ibb51dee8ec110179ec28f9469526a1fe61e74d00
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
f5a6e5bfa9497e41d518c24d1b5f3b235962a379 05-Apr-2010 Irfan Sheriff <isheriff@google.com> am dbb0a7ed: am 6e74d41b: Fix network disable on connect
6e74d41bd0525459c43ed010e8f049ffc20ca362 03-Apr-2010 Irfan Sheriff <isheriff@google.com> Fix network disable on connect

If we dont have an updated access point list
when we are re-enabling networks after connecting,
we could end up keeping some networks disabled.

This could happen if there is no event that
triggers an access point before enabling networks

Update the current access point list
right before enabling all networks.

Bug: 2567770
Change-Id: Ieb1ac8147d4acb05a6d13c44396653f0af94643d
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
79470d1a66f479919c13e27546391439cafa0ee7 31-Mar-2010 Freeman Ng <tenorslowworm@google.com> wifi settings option to only enable Next button once a wifi connection is established

Change-Id: I4b346648bce4b93f4885f1577a1510dcd18d8df5
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
2d70273673e2f3b83a52dc5baa206a568fe5b3bd 06-Mar-2010 Adam Powell <adamp@google.com> Added null check for monkey behavior
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
af7b2d8a23d297194365db74518cd67c58b9f48d 05-Feb-2010 Chia-chi Yeh <chiachi@android.com> WifiSettings: enable all networks only when connected, disconnected, or failed.
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
7d6bfbfc309d9c596fb25429ab89c528660b07f4 05-Feb-2010 Chia-chi Yeh <chiachi@android.com> WifiSettings: enable all networks when state is changed.
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
9dee8a96c5682aebff50adc8c87519ee6c36e3ef 04-Feb-2010 Chia-chi Yeh <chiachi@android.com> WifiSettings: tweak the order of calls to registerReceiver() to make the UI better.
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
065cd4be6471084863c6560b8404dfdeaf4f2154 03-Feb-2010 Chia-chi Yeh <chiachi@android.com> WifiSettings: rename WifiSettings2 to WifiSettings.
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
df90dd9f55886edd80e44d4bec3cd12d8d3a9444 03-Feb-2010 Chia-chi Yeh <chiachi@android.com> WifiSettings: remove dead code.
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
c9a663abf759fdce0006e88fdc7333cf00515345 18-Dec-2009 Irfan Sheriff <isheriff@google.com> WifiSettings has leaked window

Fix for leaked window
Bug: 2311236
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
eb48882e18ba9b1241a4d79c0cd45d6994b6dec6 23-Oct-2009 Neel Parekh <neel@google.com> am 62d3407d: Minor change to use defined key rather than a string.

Merge commit '62d3407de4a843cb83397fa757bc89653d78c800' into eclair-mr2

* commit '62d3407de4a843cb83397fa757bc89653d78c800':
Minor change to use defined key rather than a string.
a2bfad13995d8ee00ab084f1ce5c31aea5db1317 23-Oct-2009 Patrick Scott <phanna@android.com> Fix the build.
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
62d3407de4a843cb83397fa757bc89653d78c800 23-Oct-2009 Neel Parekh <neel@google.com> Minor change to use defined key rather than a string.
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
0bc64d45b418c70dca77a74ddbea62612ae4fe19 23-Oct-2009 Neel Parekh <neel@google.com> resolved conflicts for merge of e304b9f4 to eclair-mr2
e304b9f4f7f5bf07522fcc05615d172abd6c52a3 23-Oct-2009 Neel Parekh <neel@google.com> Add a intent extra to only show the access points in the settings menu.

Bug: 2198865
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
69ea4234a06ec7b864e9fa8c62e404b079fa7a6d 13-Oct-2009 Chung-yih Wang <cywang@google.com> Remove the getHumanReadibleSsid().

Since we already push down the quotes handling in WifiService.java,
there is no need of the function.
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
fc0139aa28d6d94ae868d6d794fa0c8ed621ecf8 22-Sep-2009 Chia-chi Yeh <chiachi@android.com> WifiSettings: use Credentials instead of CertTool.
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
f71c8b40b5a92e21d09dd75880e16aa857c1b6cb 09-Sep-2009 Hung-ying Tyan <tyanh@google.com> Add install-cert-from-sdcard in Security settings

Also:
* Resume keystore states in SecuritySettings.onResume().
* Use action strings defined in CertTool and Keystore.
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
844bb946afffb0e895ed7801c8dde969c599fc7f 31-Jul-2009 Chung-yih Wang <cywang@google.com> am c538b651: Fix some UI flow issues when the keystore is locked in WiFi setting.

Merge commit 'c538b651a23287ab25584995c6c4b7a68ece027c'

* commit 'c538b651a23287ab25584995c6c4b7a68ece027c':
Fix some UI flow issues when the keystore is locked in WiFi setting.
c538b651a23287ab25584995c6c4b7a68ece027c 30-Jul-2009 Chung-yih Wang <cywang@google.com> Fix some UI flow issues when the keystore is locked in WiFi setting.

To make it more user friendly, we need to continue on what
users intend to do after unlocking the credential storage.
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
bd7f05701a02233a6422b9a8e680f9b6264d8c12 06-Jul-2009 Chung-yih Wang <cywang@google.com> am eb7836f1: Apply the new keystore and certtool library in Wifi setting.

Merge commit 'eb7836f11ec4e9753db7c6ecd9414e153bb7bdbe'

* commit 'eb7836f11ec4e9753db7c6ecd9414e153bb7bdbe':
Apply the new keystore and certtool library in Wifi setting.
eb7836f11ec4e9753db7c6ecd9414e153bb7bdbe 06-Jul-2009 Chung-yih Wang <cywang@google.com> Apply the new keystore and certtool library in Wifi setting.

1. Certificate related APIs were moved to CertTool. Therefore,
we have to migrate to CertTool instead.
2. Unlock the keystore if it is not unlocked yet(send the intent
out to credential storage) for EAP access points.
3. Add Password field for WPA_EAP and IEEE8021X(this is for
phase 2 auth.)
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
8762093e0094e09493fa6cbac8e8fbf265f18165 15-May-2009 Michael Chan <mchan@android.com> Findbug fixes in Settings app

modified: src/com/android/settings/ApnPreference.java
modified: src/com/android/settings/ApnSettings.java
modified: src/com/android/settings/BandMode.java
modified: src/com/android/settings/BatteryInfo.java
modified: src/com/android/settings/LanguageSettings.java
modified: src/com/android/settings/ManageApplications.java
modified: src/com/android/settings/RadioInfo.java
modified: src/com/android/settings/SdCardSettings.java
modified: src/com/android/settings/UsageStats.java
modified: src/com/android/settings/ZoneList.java
modified: src/com/android/settings/bluetooth/LocalBluetoothDevice.java
modified: src/com/android/settings/deviceinfo/Status.java
modified: src/com/android/settings/quicklaunch/QuickLaunchSettings.java
modified: src/com/android/settings/wifi/AccessPointDialog.java
modified: src/com/android/settings/wifi/AccessPointPreference.java
modified: src/com/android/settings/wifi/WifiLayer.java
modified: src/com/android/settings/wifi/WifiSettings.java
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
afc4ab2ffbb8327ddce9907961295a32cbf49d0f 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
4e14e5ccbf1ef27220419849133d482a546d5c04 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
1152aff9d0767e528aa4a40cc8acb51b9c21d2e7 16-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@126645
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
5962e18d0e5741511e78102a3746828b05f9f9ea 10-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@125939
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
abc48f80d8747b4fc051b7dd364355ee667a9bac 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java
de2d9f5f109265873196f1615e1f3546b114aaa7 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java