summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/WirelessSettings.java
Commit message (Collapse)AuthorAgeFilesLines
* CellBroadcast: Disable App links on wifi-only devicesJorge Ruesga2013-07-261-10/+14
| | | | | | | PatchSet 2: Remove unnecessary check Change-Id: I359b5fef2932dfa072b72384edf9ba730a1f71a1 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Show more settings and add restrictions/dialogs for secondary usersAmith Yamasani2012-09-231-5/+11
| | | | | | | | | | Bug: 7213029 crash in About>Status Bug: 7212495 hide System updates for second user Bug: 7212230 nickname editor should select the text Bug: 7160487 TTS settings Bug: 7129411 Settings needs visibility changes for secondary users Change-Id: Ia2d1229c08b392edfa6b671fce4a382410405b14
* Update Settings app to use new namespace for airplane-mode settingsChristopher Tate2012-09-101-8/+8
| | | | | | Bug 7132230 Change-Id: I0253637e6d464afc229cf11ffe69852bf44fe261
* Add menu item to Settings to go to Cell Broadcast settings.Jake Hamby2012-06-251-0/+21
| | | | | | | | | | | | | | | Add menu item to Settings when "config_cellBroadcastAppLinks" config option is set to true to jump to the Cell Broadcast app settings activity. This enables the Cell Broadcast launcher icon to be removed, while still allowing access to the app (by adding a similar menu item to the MMS app) and its settings activity (this settings link). The menu item will not be added if the CellBroadcastReceiver package is disabled or not installed. Bug: 6709985 Change-Id: If3a3016ceea70704790964c0b712c31cb38f7b62
* Remove NSD checkboxIrfan Sheriff2012-05-071-3/+10
| | | | | Bug: 6449478 Change-Id: Ic4aa44cb08843819c3290b16d906c989ee306727
* Help menus for several screens.Amith Yamasani2012-04-231-0/+5
| | | | | Bug: 5144896 Change-Id: Ib2f5146f6f62f2a33261bb165c3bf1bf13b22f38
* Add Nsd settings checkboxIrfan Sheriff2012-04-181-0/+7
| | | | Change-Id: I58e54a8bed02ed7bd99b0f284279b6c799e3369f
* Fix NPE due to removed preference.Amith Yamasani2012-03-081-7/+0
| | | | | Bug: 6138309 Change-Id: I2161cb3bf58f1a1a67a136b4c7646cd7b53f6f8a
* Add wifi direct settings UIIrfan Sheriff2011-11-291-18/+1
| | | | | | | | | | | - Use switch for toggling - Follow string and UI suggestions from UX folks The goal is to keep the interaction minimal - PBC is used when possible and keypad/display are used only if really necessary Bug: 5332330 Change-Id: I83e91ad3a393c143e70f1f2b6a842b95eacde404
* Wimax : 4G settings menu and 4G MAC address.tk.mun2011-11-071-0/+15
| | | | | | | | | | 1. Show the 4G menu. 2. Show the 4G MAC address 3. Execute 4G setting apk. Change-Id: I14adc4775d35afe3398ddba4fd91c739011a06fa Signed-off-by: tk.mun <tk.mun@samsung.com> bug:5486930
* Remove wifidirect UI listingIrfan Sheriff2011-10-211-7/+1
| | | | | | | | Was used for testing. remove it until proper UI is added Bug: 5497909 Change-Id: Ic8bd1afbe348ede9031f2446b30a99d7efc88f7c
* Bring back the Android Beam settings panel.Jeff Hamilton2011-09-221-1/+5
| | | | | Bug: 5350022 Change-Id: I22d2c6f91f7ab86501021fe97a2d57b109ed10bf
* Surface tethering stats in data usage.Jeff Sharkey2011-09-161-23/+1
| | | | | Bug: 5244846 Change-Id: Ib4ac03ab634278714576a66ef8d6fdbc6d15c82a
* Remove NFC sharing from Settings.Martijn Coenen2011-09-151-5/+1
| | | | | Bug: 5297151 Change-Id: I64304230296912519aa057a89f139a2242b557e3
* Use hasSystemFeature() to check for p2pIrfan Sheriff2011-09-071-1/+2
| | | | | Bug: 5267396 Change-Id: I55cc85745dff5de43f73ec260b82ad100e237555
* Remove device name and display debug settingIrfan Sheriff2011-09-011-6/+6
| | | | | | | Device name in WifiP2pConfig is going away Bug: 5247957 Change-Id: Ib6ada8420ed8e7fbfcab85eee5f1665e33e8f024
* Merge "Use the new isNetworkSupported api for wifi-only"Robert Greenwalt2011-09-011-1/+1
|\
| * Use the new isNetworkSupported api for wifi-onlyRobert Greenwalt2011-08-311-1/+1
| | | | | | | | | | | | | | | | Didn't have an API for this before so people used a hacked system property (ro.carrier) to determine if the device supported mobile data. Added new API and switching callsites. bug:5087537 Change-Id: Ibd799559be102a9e2fd552d1a23d1afbcf8f4614
* | Expose wifi p2p toggle switch to userIrfan Sheriff2011-08-311-0/+23
|/ | | | | | | | | | | We will not show the Wifi p2p settings to user but the turn on/off capability is exposed to the user and applications will be expected to let user turn on and turn off p2p at launch. Remove the compound button integration from the settings page. Bug: 5242230 Change-Id: I54ec307304256b051e85201b8bb829d0e5544bfc
* Rename {zeroclick, share_tap} -> ndef_push in code.Nick Pelly2011-08-261-5/+5
| | | | | | | | | Not sure what the product name will be, but ndef push seems to be a nice neutral name for the code. Text strings are left as "Share Tap" for now. Change-Id: I9dbf82eda2273220c23f443710a340c2c93e8291
* Add p2p settings only in debug moderepo sync2011-08-161-2/+3
| | | | | Bug: 5002384 Change-Id: I12d691ea5b2c820c33ef8735d997a0c04b636aa7
* Add support for NFC in airplane mode.Nick Pelly2011-08-091-15/+13
| | | | | | Also update logic in Settings for new async NfcAdapter.enable() and disable(). Change-Id: Ie1e5407498ac7beb5a4e21daec0ada0e8ae9c388
* Add on/off actionbar switch for NFC Tap To Share.Martijn Coenen2011-07-271-1/+15
| | | | Change-Id: I009a31d8862a23e15d89fe9813eca02e06469531
* Updated: Wi-Fi p2p initial UI implementationrepo sync2011-07-241-0/+10
| | | | Change-Id: If60f42f76fa07a868d2e11b012b4697252c69f5f
* Added setting for zero-click sharing over NFC.Martijn Coenen2011-07-211-1/+5
| | | | Change-Id: I3848c4815d65d3a8b9b5e579c6a353dde6901ee4
* Removed summary text and categories in Wireless settingsGilles Debunne2011-07-081-7/+0
| | | | | | Bug 5002377 and 5002476. Change-Id: Ia35dd9701f59a18a812b5079396835cc19e6d901
* Settings refactoringGilles Debunne2011-06-211-35/+7
| | | | | | Wifi and bluetooth pane refactored, main toggles moved to left pane. Change-Id: I42ea4cf3bdf24158f3c67e0dea311258206cd78a
* Fix NPE in WirelessSettings.onCreate() for SDK and non-BT devices.Jake Hamby2011-03-281-4/+2
| | | | | | | | | Fix NPE when entering Settings app in the SDK (and for devices without Bluetooth). Also remove the "Bluetooth settings" item in addition to the Bluetooth toggle item from Wireless settings when BT is missing. Bug: 4149307 Change-Id: Iecc5960a193cf88664d3217b4d7bdbc2276dabc0
* Refactor Bluetooth settings for readability and performance.Jake Hamby2011-03-011-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Major refactoring of Bluetooth settings classes. - Moved all functionality from LocalBluetoothManager into new LocalBluetoothAdapter and LocalBluetoothPreferences, and into existing classes. - Refactored functionality from BluetoothEventRedirector into new BluetoothEventManager class, deleting the original version. New version uses a HashMap from action Strings to implementers of the BluetoothEventManager.Handler interface. - Created new BluetoothDiscoveryReceiver to update shared preferences timestamp for Bluetooth discovery start/finish. This is the only event handling we need to do when the settings app is not visible, so it has its own receiver entry in AndroidManifest.xml. Edits are written using QueuedWork.singleThreadExecutor(), which BroadcastReceiver knows about and will wait for completion, eliminating the need for PendingResult. - Miscellaneous cleanups to code style and logic for readability. - Pulled some large switch statement code blocks into new methods. - Changed all Bluetooth state references to the new BluetoothProfile constants. - Changed use of deprecated Notification constructor in BluetoothPairingRequest to use Notification.Builder. - Moved Utf8ByteLengthFilter helper function from BluetoothNamePreference into its own class, and moved test cases into the same package. - Moved all LocalBluetoothProfileManager functionality related to specific profiles into new top-level classes (A2dpProfile, etc.), all implementing the LocalBluetoothProfile interface. - Moved all UI-related methods from CachedBluetoothDevice into the class that uses the method, or into the static Utils class for shared methods. Change-Id: I6d49b7f4ae0c7d7dcf62551ee40b51ecb5fe4f47
* Just use device configuration for Tethering.Robert Greenwalt2011-02-251-1/+1
| | | | | | Don't need extra code here if the device is configured propertly. Change-Id: Ieb65e36c1c91a62bbb0c8619e2efb34735fbb564
* Remove / re-word some settings for WiFi-only devices.Amith Yamasani2011-02-241-2/+8
| | | | | | | | | | | 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
* Hide http proxy UIRobert Greenwalt2010-12-291-0/+2
| | | | | | | | | We don't have support in the media code so rather than confuse the users with some apps using proxies and some not we'll just turn it off for all for now. bug:3283883 Change-Id: If29bb34fce04eab5adc9b5180b70dbfd718cc709
* Fix master build. WirelessSettings is a fragment in master.Nick Pelly2010-12-131-1/+1
| | | | Change-Id: I9ad1104605558859d90dd1ecc083e9ef35bf3fa0
* am 934c1b9f: am c1286804: Merge "Update Settings for new ↵Nick Pelly2010-12-131-1/+1
|\ | | | | | | | | | | | | NfcAdapter.getDefaultAdapter(Context)" into gingerbread * commit '934c1b9f4b475112e635989fb3d1a9d191a9c9e7': Update Settings for new NfcAdapter.getDefaultAdapter(Context)
| * Update Settings for new NfcAdapter.getDefaultAdapter(Context)Nick Pelly2010-12-091-1/+1
| | | | | | | | Change-Id: I3321d9ebd90313f98664d66b53bb36690808911a
* | am fb515337: am e1a9ca68: Merge "Use NfcAdapter.getDefaultAdapter() to check ↵Nick Pelly2010-10-171-1/+2
|\ \ | |/ | | | | | | | | | | | | | | for NFC prescence." into gingerbread Merge commit 'fb515337c2c8ceefe47b7387ebffa2b3185ef2ba' * commit 'fb515337c2c8ceefe47b7387ebffa2b3185ef2ba': Use NfcAdapter.getDefaultAdapter() to check for NFC prescence.
| * Use NfcAdapter.getDefaultAdapter() to check for NFC prescence.Nick Pelly2010-10-151-1/+2
| | | | | | | | | | Change-Id: I518389a317a4e9ab9009fd33330a91f7c35edc2a Signed-off-by: Nick Pelly <npelly@google.com>
* | resolved conflicts for merge of 1ff9ad3f to masterNick Pelly2010-09-291-2/+15
|\ \ | |/ | | | | Change-Id: I55137a241e13ec7da1d413cf9b7fd1c1fdd8c4d1
| * Add NFC checkbox to Settings app.Nick Pelly2010-09-281-9/+19
| | | | | | | | | | | | | | | | Based on Trusted_NFC_Device_Host_AA03.01e02_google.zip code drop (23-Sep-2010) Heavily modified to remove dead code. Change-Id: I9e5f0bf2d32105feff4d68f03adebe87d2e9d900
* | Refactor settings top level activities to use fragments.Amith Yamasani2010-08-181-20/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | Added a base class SettingsPreferenceFragment from which the settings activities should be derived so that they can behave like fragments. It contains some commonly called utility methods and dialog conversion to DialogFragment. Some of the top-level activities can be launched directly without the left pane. Settings.java acts as a proxy activity that contains just that settings fragment without the left pane. There are still a lot of second and third level activities that need to be fragmentized. This is just the first pass to test the 2-pane layout.
* | bluetooth tetheringDanica Chang2010-08-171-12/+28
| | | | | | | | Change-Id: I8dfb1c85bb8b963d2937b8bc4a4c9f0cf641785d
* | Enabling users toset the Global Proxy from wireless settings.Oscar Montemayor2010-08-041-0/+7
|/ | | | Change-Id: Ie9b37e4c8e042fab738d2181878e93d7d2645834
* String change - wifi tether = hotspotRobert Greenwalt2010-05-081-0/+16
| | | | | bug:2664412 Change-Id: I6ca955e7fcc299ae1d69892c93c9250229610b19
* Update Settings UI regarding tethering.Robert Greenwalt2010-02-161-1/+11
| | | | | | If tethering is disabled (build var or a gservices property) for the device, don't show any of the tethering options. If Usb Tethering is disabled (config.xml) don't show Usb Options. If Wifi Tethering is disabled (config.xml) don't show Wifi Options.
* Settings: revise WifiEnabler and BluetoothEnabler.Chia-chi Yeh2010-01-151-3/+14
| | | | | | | | | This mainly changes the way both enablers react to the airplane mode. Now enablers show a toast message instead of disabling the check box directly. This avoids the inconsistent state introduced by WirelessSettings which controls the check box using layout dependency. Related bug: 2053751
* Settings: revise WifiSettings.Chia-chi Yeh2009-12-251-63/+39
|
* Allow bluetooth in airplane mode when in "toggleable" list.Jeff Sharkey2009-12-221-1/+8
| | | | | | | | | | | | | | | Settings.System.AIRPLANE_MODE_TOGGLEABLE_RADIOS is a list of radios that can be toggled while in airplane mode. This CL changes BluetoothEnabler to respect this. It parallels the logic in WifiEnabler, which enables OEMs to allow Wifi changes when in airplane mode. Most existing devices don't include "bluetooth" in the toggleable list, which means bluetooth will continue to be disabled when in airplane mode for those devices. Fixes http://b/2297314
* b/2219381 Gray out Bluetooth Settings for the emulatorMichael Chan2009-10-291-4/+14
| | | | Change-Id: I11ae2e6c7652ba550aeadf0dadb6f520c19dedc6
* b/2045917 Fixed the problem where Bluetooth enable/disable remain disabled ↵Michael Chan2009-09-021-1/+1
| | | | when Airplane mode is turned off.
* Airplane Mode in Emergency Callback Mode (ECM)Chouting Zhang2009-08-311-0/+49
| | | | | | | | When user tries to change Airplane Mode between ON & OFF in ECM mode, a notice should be shown to indicate it's in ECM mode, and ask if user wants to exit ECM, if yes, then the Airplane Mode is changed after ECM mode exit. If not, Airplane Mode should not be changed.