summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/bluetooth/BluetoothPairingDialog.java
Commit message (Collapse)AuthorAgeFilesLines
* Bluetooth : fix for handling back key during pair dialog displayjhtop.kim2011-08-081-0/+8
| | | | | | | | | - Pressing back key when pairing dialog appears infront , device shows "Pairing..." if we don't have any bonded device in device list. - when press back key will perform onCancel() operation. Change-Id: Iacd654efad455f17a5c3bb09f822d9af5a7aed7d Signed-off-by: jhtop.kim <jhtop.kim@samsung.com>
* Bluetooth : UI bug fix : Pairing dialog box takes space as characterjhtop.kim2011-07-181-2/+2
| | | | | | | | | - In pairing dialog box even if PIN was removed in text box, still the OK button is enabled - When length is zero , disable the OK button in pairing dialog - update fix to prevent error while mOkButton is not ceated. Change-Id: I38ff3029cff2e7c4e87b7f9c93fa262125e91d44 Signed-off-by: jhtop.kim <jhtop.kim@samsung.com>
* Upgrade Bluetooth pairing dialogs for ICS.Jake Hamby2011-07-151-28/+66
| | | | | | | | | | * Change Bluetooth pairing dialogs to match ICS wireframes. * Default to numeric soft keyboard for PIN entry, and add checkbox to allow user to switch to alphanumeric keyboard if necessary. * Move all Bluetooth advanced settings into action bar menu. * Toggle visibility by touching "My device" entry in devices list. Change-Id: Ic2377eb4364f41d215181cb1e3933997c9db9106
* Refactor Bluetooth settings for readability and performance.Jake Hamby2011-03-011-111/+149
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Add new pairing dialog for keyboard pairings.Jaikumar Ganesh2011-01-061-17/+31
| | | | Change-Id: I672a3d874a7876fca6bd38091444dc9c5fb3a2f1
* Implement individual Bluetooth profile connect/disconnect.Jake Hamby2010-11-031-2/+2
| | | | | | | | Allow individual Bluetooth profiles to be connected/disconnected from the device's settings pane. Bug: 3137982 Change-Id: I21512c5bf965fc523f3dc1e83d029b16b5e22440
* OutOfband pairing user dialog.Jaikumar Ganesh2010-09-091-0/+7
| | | | Change-Id: I2f996067b983ad4678814040eb0773fa3968be13
* resolved conflicts for merge of 1b7ffcf4 to masterJaikumar Ganesh2009-09-161-47/+71
|
* Update application for Bluetooth API changes.Nick Pelly2009-09-101-11/+9
| | | | Change-Id: I8351611f0f0c5eda3e423dbe7e7b53e52d75ac36
* Fix display strings and enter passkey handling.Jaikumar Ganesh2009-09-091-1/+1
|
* b/2050798 Bluetooth Passkeys should always be 6 digits so show leading zeros ↵Michael Chan2009-09-021-3/+4
| | | | | | if needed. Removed extra new lines in the passkey and pin dialogs because the string didn't fit in landscape mode. (scrollbars to appeared)
* Show error messages when Authentication fails.Jaikumar Ganesh2009-08-211-5/+1
| | | | | | Call Canceled when user presses "Don't Pair". Thus for Authentication Failed cases we can show the message to the user.
* Call the correct function for canceling a pairing request.Jaikumar Ganesh2009-08-201-1/+1
|
* Bluetooth: Update Settings.apk to match BT API change.Nick Pelly2009-08-171-11/+11
| | | | | | | | | Split BluetoothDevice into BluetoothDevice and BluetoothAdapter. BluetoothAdapter: Represents the local BT adapter. Operations on the local adapter (start a scan, etc). BluetoothDevice: Represents a remote BT device. Operations on remote devices (pair, connect, etc).
* Modified the Bluetooth 2.1 Passkey confirmation dialogMichael Chan2009-08-041-4/+3
| | | | | | - Changed the Passkey confirmation to show Pair/Don't Pair. - Fixed the problem where the Ok button was showing up as Pair for the error dialog box. - Disable the toasts when pairing failed in this case. Will need to check if this causes regression in other cases.
* Initial 2.1 bluetooth support.Jaikumar Ganesh2009-07-201-0/+261
Need to work with Strings and UI person to fix and later test everything.