History log of /packages/apps/Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
7951b43bd9a759b01ea994b341c102b03011ca3c 29-Aug-2012 Ganesh Ganapathi Batta <ganeshg@broadcom.com> Clear profile connnection status of bonded devices when BT is turned off

When BT is turned off in mid of a profile connection, sometimes
profile connection status change message with status= DISCONNECTED
does not reach Settings app which results in stale connection status
for the device when BT is enabled next time. Fixed the issue
By explicitly clearing the connection status for all paired devices
when BT is turning OFF

Change-Id: I5d0c158636f3b62eff9094821abe2ef3a7cab16e
/packages/apps/Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java
0654b71534411f4d93502f6ed8d8e864ef5b88ef 01-Aug-2012 Ganesh Ganapathi Batta <ganeshg@broadcom.com> Remove Profile Auto connection specific logic

Remove profile auto connection specific logic as it is not implemented in
Bluetooth app
Disconnect PBAP server connection when user initiates device level disconnection

Change-Id: I381ed96f6b57f414bbaccd694f55d2b992e330a4
/packages/apps/Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java
6bce91bb9b14f82089f6ac90ca06f63a3aa3045c 11-Jul-2012 Syed Ibrahim M <syedibra@broadcom.com> Fix for correctly enabling PAN profile in Settings
Update the connected profile list in CachedBluetoothDevice correctly
if a PANU-NAP connection is already existing but the onUuidChanged()
callback doesnt contain the PANU UUID in SDP inquiry. Now, the
DeviceProfileSettings screens displays valid 'Internet connection
sharing' option when connected as a NAP to remote PANU.

Change-Id: I35821233e7776fb13f7fb1eb22af992b497202a9
/packages/apps/Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java
c70f5483553f5ff2bddc289ea8b7741bc81c9fbf 29-Jun-2012 Ravi Nagarajan <nravi@broadcom.com> Reset the priority on unbond

Change-Id: I67b68bd70b947177218e0b908b79ebb9de9f45a8
/packages/apps/Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java
744ef74d37ac692fa102fb0537ba5033155758fb 05-Jun-2012 Kausik Sinnaswamy <kausik@broadcom.com> On an incoming pairing of a newly paired device, setPreferred of the
profiles needs to be called to enable incoming/outgoing connections

Change-Id: Ic90e4857fb119e31639e4a50db48b084201aadb2
/packages/apps/Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java
6e4060212e537bdcb69b21c2ba814c23cd393d42 01-Jun-2012 Kausik Sinnaswamy <kausik@broadcom.com> Fixed a race condition during pairing with carkits wherein connect was
issued even before ACTION.uuid changed was received.

Change-Id: Iafc2c61b92537a219e46e08366fab1ad5f4e97bd
/packages/apps/Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java
f457e613d5d91322e0c967fb801899d55e3db9e5 25-May-2012 Syed Ibrahim M <syedibra@broadcom.com> Fix to update the checkbox attribute values after connect() is called; This is to make sure for profiles like HID where re-connection can happen only from the device side, the UI is updated to be in sync with the right priority of the corresponding profiles

Change-Id: I4a17d8bbf584e6e64519fe3508bccd5d167a020d
/packages/apps/Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java
2ac143fff796ff1bd5b73484db17b6934c05f18e 27-Apr-2012 Swaminatha Balaji <swbalaji@broadcom.com> Auto connect hf/a2dp

Change-Id: I4cb260a1f794c2e094a0b19bdc1df919c4287232
/packages/apps/Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java
4e1876a40a8786a339369cf1962a7e923b234625 08-Mar-2012 Harish Paryani <hparyani@broadcom.com> Disconnect before Unpair
/packages/apps/Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java
b707255a440e53ec2865c4b34c7ea07d16d471bd 09-Aug-2011 Matthew Xie <mattx@google.com> Remember user choice for phone book access permission dialog

Change the always-allowed checkbox to be don't-ask-again checkbox to remember
user's decision so that user will not be bothered agian if he/she checks
the don't-ask-again checkbox
bug 5099661

Change-Id: If32ab8e93313bbd33ff040553083f0cf9359b69e
/packages/apps/Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java
2036ebd8896bbabbbe04db34c9e7d8a1be6fe32a 27-Jul-2011 Matthew Xie <mattx@google.com> Save changed name from CachedBluetoothDevice to native storage

The change preserves the friendly name change over power cycle.
bug 5081605

Change-Id: I2b2cce5a789c72d52439511c42df369639eb0b4b
/packages/apps/Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java
ca9812a8521fcc483e821fd5a88ec421de0b8f66 12-Jul-2011 Jake Hamby <jhamby@google.com> Upgrade Bluetooth pairing dialogs for ICS.

* 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
/packages/apps/Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java
c777ee29c856e1d1a2a61ccd799b6e18b50febdc 05-Mar-2011 Jake Hamby <jhamby@google.com> Improve Bluetooth tethering UI usability.

- Updated hint text for BT tethering checkbox to
"[Sharing|not sharing] this [tablet|phone]'s mobile data connection".
- Show correct hint text when user enters tethering screen.
- Show correct status after user enables tethering when Bluetooth is off.
When BluetoothPan.setBluetoothTethering(true) is called with BT off,
BluetoothPanProfileHandler will add a broadcast receiver to enable
tethering after BT turns on. This happens too late to show the correct
status when TetherSettings gets the adapter state changed event, so set
a flag (mBluetoothEnableForTether) instead, and call setBluetoothTethering
ourselves after the state changes to ON. Also, clear the flag if the
adapter state changes to OFF or ERROR.
- Show correct status when user enables tethering, then disables Bluetooth,
then returns to the tethering screen. Previously it would show
Bluetooth tethering enabled, even though adapter state was OFF.
- Show the number of connected devices in tethering preference screen.
- Distinguish between PANU and NAP in device profiles screen, and show
appropriate text to clarify the direction of tethering.
- Remove profiles from device profiles list when the device removes the UUID
(e.g. Mac OS X turning NAP on/off) and after a NAP disconnection when the
remote device only supports PANU.

Bug: 3414575
Change-Id: I2c0830876d5b9bddb293e57c4d3ca74f105911b8
/packages/apps/Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java
50e0b0cf87f724d25ada10353867f14ebbf644aa 04-Mar-2011 Jaikumar Ganesh <jaikumar@google.com> Fix settings app not showing correct profile connection state message.

Bug:3385085
Change-Id: Ie4b7eb6bc9d8c91264cf7f68d7830c110e34496d
/packages/apps/Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java
436b29e68e6608bed9e8e7d54385b8f62d89208e 08-Feb-2011 Jake Hamby <jhamby@google.com> Refactor Bluetooth settings for readability and performance.

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
/packages/apps/Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java
5a3120cab76135c4e3a7d1a2f10ed64578093cb6 28-Feb-2011 Jaikumar Ganesh <jaikumar@google.com> Display imaging icon for printer devices.

Change-Id: Iea2a77bb3b79934174f6e39b080ade47bd119773
/packages/apps/Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java
b98c00e710710d3aa96d5c950b51a60cfa48b51d 26-Jan-2011 Amith Yamasani <yamasani@google.com> Update airplane mode checkbox when toggled from system bar.

Bug: 3148095

Also fix an NPE crash I saw when exiting Settings immediately after toggling
the airplane mode.

Change-Id: I83eb2d90e203fd56b09269cf9fa8f74a4354834f
/packages/apps/Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java
cde015b3d424b0d83030f11432ad0a0589014bd5 19-Jan-2011 Jake Hamby <jhamby@google.com> Display correct HID icon for pointing and misc. devices

Added placeholder icons and code for non-keyboard HID devices.
ic_bt_pointing_hid.png - pointing device
ic_bt_misc_hid.png - gamepad, remote control, card reader, etc.

Bug: 3137982
Change-Id: Iac7a53a6fbafa9c6ed794a29aa330da314d580d8
/packages/apps/Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java
a0d39a39c2f53ebe858685c75c756b51dfac49da 11-Jan-2011 Jake Hamby <jhamby@google.com> Allow multiple simultaneous connections for BT input devices.

Move responsibility for disconnecting devices before connecting a new
profile from CachedBluetoothDevice to LocalBluetoothProfileManager.

The ProfileManager subclasses of LocalBluetoothProfileManager will
handle disconnecting the previously connected device, if necessary,
as part of connect(). The HID profile allows multiple simultaneous
connected devices, while the other supported profiles do not.

Bug: 3333975
Change-Id: Id51b26e64f7c3ee7d54af3a03ca82a669f305b52
/packages/apps/Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java
4bd7cb0e07a1fbc4e658810631132cebd5b1fdd6 07-Jan-2011 Jake Hamby <jhamby@google.com> Don't auto connect reverse tethering after pairing.

Added boolean param to connect() method in CachedBluetoothDevice
to specify whether to connect PAN profile. This is set to true when
the user clicks on a device in the paired devices list, but false
when auto connecting profiles after pairing and other circumstances.

Bug: 3330207
Change-Id: I6d8d50abb65a8cb24f87ad93c01693923991b6ef
/packages/apps/Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java
39ef225e7c44a48aa9cfdf5c56ecd4ddfb95ae89 17-Dec-2010 Jake Hamby <jhamby@google.com> Enable reverse tethering in BT settings screen.

- Enable support for reverse tethering in BT settings.
- Add string resource for "Auto connect" preference.
- Remove unused imports and other minor cleanups.
- Add isConnectable() and isAutoConnectable() methods to Profile
enum type and remove isConnectableProfile() method.

Change-Id: Ie606db04028a8278e98231f0671a388671f2f067
/packages/apps/Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java
498d12bac0df509a4f74a4df8a8c69ec22583a1a 11-Dec-2010 Jaikumar Ganesh <jaikumar@google.com> Add ability to connect to only headset profile.

Fix some SDP records issues.

Change-Id: I42816527b1ae0749b4b59b7947f1acb9d2e6f001
/packages/apps/Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java
c090feb64f674d9840993736a24f9667f8b0e0d5 08-Dec-2010 Jake Hamby <jhamby@google.com> Implement BT settings functionality for new UI.

- Removed context menu logic for long press (no longer used).
- Converted device picker to run in its own Activity, using a dialog
theme on large screen devices and full-screen on phones.
- Removed unused resources.
- Add device to "Paired devices" list when pairing is initiated by the
remote device.
- Return to Bluetooth settings pane after successfully pairing a new
device from the "Find nearby device" pane.
- Add support for renaming devices (TODO: persist the custom name and
update the "bread crumb" in the action bar to the new device name).
- Add support for incoming file transfer and auto connect checkboxes
in DeviceProfilesSettings.
- Show available and connected device profiles as icons instead of
summary text. Available but disconnected profiles are drawn in gray.
- Fixed bluetooth_notif_message to include the device name as a parameter
instead of appending the name to the end of the localized string.
- Changed some fields from private to package scope for more efficient
access from inner classes.

Bug: 3137982

Change-Id: Ic2d6ee5be60c9c5b3f3a8a58846d58efedfa5c93
/packages/apps/Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java
8c04b90cc95b16f8d7e99a61d8e2c940ed83b0c4 24-Nov-2010 Jaikumar Ganesh <jaikumar@google.com> Update supported profiles for voice capability.

Change-Id: If12f97ccc5d7d54d8d3e470dd4bc91fe9119b9cd
/packages/apps/Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java
e79f990490de49b39097433707c2bae6d8238330 03-Nov-2010 Jake Hamby <jhamby@google.com> Implement individual Bluetooth profile connect/disconnect.

Allow individual Bluetooth profiles to be connected/disconnected from
the device's settings pane.

Bug: 3137982
Change-Id: I21512c5bf965fc523f3dc1e83d029b16b5e22440
/packages/apps/Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java
48e90002839e662eb1667471aebeb0483e9fb7db 26-Oct-2010 Amith Yamasani <yamasani@google.com> Bluetooth settings revamp

Added a separate scanning screen.
UI changes to not require long-press options.
Needs TODOs to be filled by BT team.

Bug: 3038327
/packages/apps/Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java
659b39abf8580a49bd77f194c9ac30359f610709 19-Oct-2010 Jaikumar Ganesh <jaikumar@google.com> Update BT APIs for change in return type.

Change-Id: Ic85b47da50876fd6bdc6e223af4248a8586d82bc
/packages/apps/Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java
c0a2044b9aa3cc8be7c67d3884d105708b6ca8b1 15-Oct-2010 Jaikumar Ganesh <jaikumar@google.com> am 0d5e320c: am bdf13107: Merge "Call disconnect / connect without checking the current status" into gingerbread

Merge commit '0d5e320cdd9cbd76012c0a1aec157e358d05891e'

* commit '0d5e320cdd9cbd76012c0a1aec157e358d05891e':
Call disconnect / connect without checking the current status
0d5e320cdd9cbd76012c0a1aec157e358d05891e 13-Oct-2010 Jaikumar Ganesh <jaikumar@google.com> am bdf13107: Merge "Call disconnect / connect without checking the current status" into gingerbread

Merge commit 'bdf1310707e436db484113d7aa2881c966cddd0f' into gingerbread-plus-aosp

* commit 'bdf1310707e436db484113d7aa2881c966cddd0f':
Call disconnect / connect without checking the current status
d3a460cce7b6a4f1e81f3c15b5f7949d28fdc929 13-Oct-2010 Jaikumar Ganesh <jaikumar@google.com> Call disconnect / connect without checking the current status

Its the job of the framework to check that, it already does that.
Framework will queue the commands. Earlier settings app used to queue
them.

Bug: 3076404

Change-Id: I664e1c4e2c0ef9c697066251ccca382ad12dfa2f
/packages/apps/Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java
4747950d8e04a0777ab09ae7bbe2f3c4fa421071 12-Oct-2010 Jake Hamby <jhamby@google.com> am d7f7213a: am 4c0ff2c7: Merge "Fix bug where car dock sometimes doesn\'t connect." into gingerbread

Merge commit 'd7f7213af27fa6c5e476bb8a8d2951feb5e630b5'

* commit 'd7f7213af27fa6c5e476bb8a8d2951feb5e630b5':
Fix bug where car dock sometimes doesn't connect.
d7f7213af27fa6c5e476bb8a8d2951feb5e630b5 11-Oct-2010 Jake Hamby <jhamby@google.com> am 4c0ff2c7: Merge "Fix bug where car dock sometimes doesn\'t connect." into gingerbread

Merge commit '4c0ff2c7b5138c0fce6c83f6c414204e32ac96f3' into gingerbread-plus-aosp

* commit '4c0ff2c7b5138c0fce6c83f6c414204e32ac96f3':
Fix bug where car dock sometimes doesn't connect.
582f1f84bb0ad4315ce17826672298c68f1c3b38 30-Sep-2010 Jake Hamby <jhamby@google.com> Fix bug where car dock sometimes doesn't connect.

Attempt to connect to car/desk dock after pairing completes. This
fixes a bug where we didn't try to connect if we received the UUID
change intent before the bonding state change intent.

Change-Id: I7c12a4eb23d17d506e43a64bf2a3aa5241debcb9
/packages/apps/Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java
989408cc7001a9ab9ea632bad4142c186d833465 25-Sep-2010 Jake Hamby <jhamby@google.com> am 68c6188b: am dd79a33b: Auto-connect Bluetooth device only when user initiates pairing.

Merge commit '68c6188b91ca4034caeff7527487513c8cb012f8'

* commit '68c6188b91ca4034caeff7527487513c8cb012f8':
Auto-connect Bluetooth device only when user initiates pairing.
68c6188b91ca4034caeff7527487513c8cb012f8 25-Sep-2010 Jake Hamby <jhamby@google.com> am dd79a33b: Auto-connect Bluetooth device only when user initiates pairing.

Merge commit 'dd79a33ba53fec530094f4d2fe37f0538530d9f8' into gingerbread-plus-aosp

* commit 'dd79a33ba53fec530094f4d2fe37f0538530d9f8':
Auto-connect Bluetooth device only when user initiates pairing.
dd79a33ba53fec530094f4d2fe37f0538530d9f8 24-Sep-2010 Jake Hamby <jhamby@google.com> Auto-connect Bluetooth device only when user initiates pairing.

Fix bug 2271901: do not auto-connect to services on a BT device
when pairing was initiated by the device (e.g. for OPP file transfer).

Also corrected some typos and removed an unneeded lock object in
LocalBluetoothManager (synchronize on .class object instead, like
android.bluetooth.BluetoothDevice.getService() does).

Change-Id: I121105c6eee2658129f6094786754bbc7932d324
/packages/apps/Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java
69b0218849899fe367d29bea013af7b17eb2fa38 17-Sep-2010 Jaikumar Ganesh <jaikumar@google.com> am 356745ec: am 213d579f: Merge "Don\'t disconnect the same device before connecting." into gingerbread

Merge commit '356745ecc63419a2569345186e8612a5b0ced28d'

* commit '356745ecc63419a2569345186e8612a5b0ced28d':
Don't disconnect the same device before connecting.
356745ecc63419a2569345186e8612a5b0ced28d 17-Sep-2010 Jaikumar Ganesh <jaikumar@google.com> am 213d579f: Merge "Don\'t disconnect the same device before connecting." into gingerbread

Merge commit '213d579f98a83145989f11cfdbd47631b64de000' into gingerbread-plus-aosp

* commit '213d579f98a83145989f11cfdbd47631b64de000':
Don't disconnect the same device before connecting.
84905edb6315ac0af53141cf2f91591443d7422a 17-Sep-2010 Jaikumar Ganesh <jaikumar@google.com> Don't disconnect the same device before connecting.

We Pair: Remote device sends incoming connection, we get connected.
We get BondingState change and we connect.
Settings app disconnects connected profiles and then connects
without checking whether we are disconnecting the same device itself.

How was it working before ? Settings app used to queue all
commands. The disconnect followed by the connect would work
but unnecessarily disconnect and then connect.
With the queuing moved to framework, the connect fails
since the disconnect status has not been broadcasted.

Settings app shouldn't be disconnecting connected profiles.
That logic should reside in the framework. There is an open bug
and when the new APIs get implemented this will get removed.

Change-Id: I32a7fa36ff3c3321691c55071498f985dcdcfe8e
/packages/apps/Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java
32711b6752eb73324e1b10db975ac956888eda96 11-Aug-2010 Danica Chang <danicachang@google.com> bluetooth tethering

Change-Id: I8dfb1c85bb8b963d2937b8bc4a4c9f0cf641785d
/packages/apps/Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java
e50496fb3578a68e45648dce389e8c55fde75c40 19-Jul-2010 The Android Open Source Project <initial-contribution@android.com> am be38a39f: merge from open-source master

Merge commit 'be38a39fc98d8574b747c57fea2aedd5d97fd333'

* commit 'be38a39fc98d8574b747c57fea2aedd5d97fd333':
Fix window leak problems in settings.
be38a39fc98d8574b747c57fea2aedd5d97fd333 19-Jul-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master

Change-Id: Ibdfd887cae67bb6eba26e0f4e02765ad5b07e657
20108e2ed6d7fdc889d85702f7cbda906db141cf 12-May-2010 Jiehua.Dai <Jiehua.Dai@sonyericsson.com> Fix window leak problems in settings.

There were window leak in the settings application.
These leak happens when an AlertDialog displays, rotate the phone,
then it would cause window leak.

Change-Id: I914897bf657933efea72eeea66076dc288098420
/packages/apps/Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java
792d2132e408ded2b2d56646ba263808dd51fc31 08-Jun-2010 Adam Powell <adamp@google.com> Add keyboard support to bluetooth settings.

Change-Id: I8fe41056acd074374cd249bfd0be6034f2614d37
/packages/apps/Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java
f907e0bb891eca4d498871a1cc862117a462a076 26-May-2010 Adam Powell <adamp@google.com> Fix bug 2713245 - Remove job queue from BT settings

Change-Id: I4e7269474cd270f22b16e9317e933ab87bff4929
/packages/apps/Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java
d2c81986c236ed680cfae5e420561028ae4cc0d2 08-May-2010 Michael Chan <mchan@android.com> b/2652059 Refresh UI after bond state change

Change-Id: I8f8a939ba3f383aae36091986cea4e8a6eae13fb
/packages/apps/Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java
1308453b16c2ca85a456bd4bb7f3c71c916bd83e 04-May-2010 Michael Chan <mchan@android.com> b/2652059 Fixed the broken BT connects/disconnects after unpair

The unpair command was stuck in the queue.

Change-Id: I803cb10adcfaedbe6fd202e0db463593880e4280
/packages/apps/Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java
96b0c1dc0813f7e8c957ec17dc7751693926c6ae 23-Apr-2010 Michael Chan <mchan@android.com> b/2608693 Fix the problem where BT was automatically reconnecting
... after the user unpaired while docked.

Change-Id: I65642f440109968387401fc3c103da0f2b15f49f
/packages/apps/Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java
293867bd109383a1a26b35bf6accb92c0bad264c 07-Apr-2010 Michael Chan <mchan@android.com> b/2174155 Remove debug logging in bluetooth

Change-Id: Ia40af3bb362fe99fbfda1a23cdcb04fb96af7ca8
/packages/apps/Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java
bd0b2542a848bb6cd5a6055ee870a63732ae061d 11-Dec-2009 Michael Chan <mchan@android.com> am a87f2fd7: b/2320107 Fixed NPE for class bits. Docks do not have class bits.

Merge commit 'a87f2fd7d82e5055e0f9ea2c93704ed0b58f27ef' into eclair-mr2

* commit 'a87f2fd7d82e5055e0f9ea2c93704ed0b58f27ef':
b/2320107 Fixed NPE for class bits. Docks do not have class bits.
3681cfb83b0e9d02c71330fda25edaaf17bb0ba6 11-Dec-2009 Jaikumar Ganesh <jaikumar@google.com> am 613549a6: Merge change I2c3621d1 into eclair

Merge commit '613549a622eac8278c9f81a1df83484c256652bf' into eclair-mr2

* commit '613549a622eac8278c9f81a1df83484c256652bf':
Fix desk dock getting stuck after unpairing.
c8559a526c1544d3b954dbb5522282edba7db9b6 11-Dec-2009 Michael Chan <mchan@android.com> am d70e205b: Merge change I724fc8fd into eclair

Merge commit 'd70e205b4c6dbf9661b972aa208d5a42927bdd88' into eclair-mr2

* commit 'd70e205b4c6dbf9661b972aa208d5a42927bdd88':
b/2317194 Synchronize command queue to prevent ConcurrentModificationException from happening
a87f2fd7d82e5055e0f9ea2c93704ed0b58f27ef 11-Dec-2009 Michael Chan <mchan@android.com> b/2320107 Fixed NPE for class bits. Docks do not have class bits.

Change-Id: Ibe4f697a906010f8f3ee270b891db286a4976f8a
/packages/apps/Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java
b172cd5d232bd650d6efbb7d8b5e4cf9c213952f 10-Dec-2009 Jaikumar Ganesh <jaikumar@google.com> Fix desk dock getting stuck after unpairing.

Note: This is a workaround. The read problem is that
we are making a call to Bluez when it is not ready yet.
The interface has not been registered, so dbus call should fail.
We need to fix this properly.

Dr No: Eastham
Bug: 2317784
/packages/apps/Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java
792edfcf12f669378f218c13f8fd4e54d587d87a 10-Dec-2009 Michael Chan <mchan@android.com> b/2317194 Synchronize command queue to prevent ConcurrentModificationException from happening

Change-Id: I724fc8fd07d33cfa6e68221a766754dcb1f6aeba
/packages/apps/Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java
41eb38412a0c1337ea4e61dcc4d35f82292ba0ae 08-Dec-2009 Michael Chan <mchan@android.com> am 0c75b2d2: Merge change I80790bdb into eclair

Merge commit '0c75b2d2dc35b88d5cb9db96afc72ed074ca5350' into eclair-mr2

* commit '0c75b2d2dc35b88d5cb9db96afc72ed074ca5350':
b/2296110 Dialog for setting up dock audio.
df9504ef58e8dafdd80ca9cd780510f9444943e2 06-Dec-2009 Michael Chan <mchan@android.com> b/2296110 Dialog for setting up dock audio.

Reimplemented as a Foreground Service just so it can get on top of the Car Dock App.
Added debounce mechanism to not disconnect immediately after getting a undock event.
Each dock now has its own "Remember setting".
Remember Settings is on by default

Change-Id: I80790bdb7c831e2a642365b92433012191aa70c1
/packages/apps/Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java
87985ae6de00f4001f957d7a27004843872a7e2a 03-Dec-2009 Michael Chan <mchan@android.com> am 3327f788: b/2293042 Fixed the problem where A2DP connections may fail if there\'s an existing connection to another device.

Merge commit '3327f7887328c55ef2d837a8e2a07cea2070c744' into eclair-mr2

* commit '3327f7887328c55ef2d837a8e2a07cea2070c744':
b/2293042 Fixed the problem where A2DP connections may fail if there's an existing connection to another device.
3327f7887328c55ef2d837a8e2a07cea2070c744 03-Dec-2009 Michael Chan <mchan@android.com> b/2293042 Fixed the problem where A2DP connections may fail if there's an existing connection to another device.

Change-Id: I1b4963a167b633c0905e2719ab3f651ff8be9f2c
/packages/apps/Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java
d55c31ead6e52b215f42f351761483386ecacbc2 05-Nov-2009 Michael Chan <mchan@android.com> am 4d004e91: b/2238546 Fixed NPE in Settings when Bluetooth "class" is null

Merge commit '4d004e910732565ddd449c7c525f7d6cbd353392' into eclair-mr2

* commit '4d004e910732565ddd449c7c525f7d6cbd353392':
b/2238546 Fixed NPE in Settings when Bluetooth "class" is null
4d004e910732565ddd449c7c525f7d6cbd353392 05-Nov-2009 Michael Chan <mchan@android.com> b/2238546 Fixed NPE in Settings when Bluetooth "class" is null
/packages/apps/Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java
81cdaff7b5aed3ea2b987b23e2e9a6c0213b0aa5 08-Oct-2009 Michael Chan <mchan@android.com> b/2173596 Cancel Bluetooth scanning when the user leaves Bluetooth Settings.

Change-Id: Ib4dd6254c90da619e853b1be22fba3ff1365258e
/packages/apps/Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java
98d76cc9b882466a97fb55913f5a507a642b5018 06-Oct-2009 Jaikumar Ganesh <jaikumar@google.com> Remove STOPSHIP debug log.

Bug: 2151872
Dr No: Eastham
/packages/apps/Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java
b547dda338f1b135076c8be59c50a12d843cebf8 01-Oct-2009 Michael Chan <mchan@android.com> Don't auto-connect to OPP after pairing

Change-Id: Ie7e8a7ef7188f7ffa6b32595764c100a0d72be89
/packages/apps/Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java
e6531e253bf646324d3a68de0e9cc612c5e1c8ac 30-Sep-2009 Michael Chan <mchan@android.com> b/2154978 Show only connectable profiles (Headset and& A2DP but not OPP) in Bluetooth Device Advance Options aka "Connect to..."

Change-Id: I34249a4828707bde491da4a82dca94ecf37cf490
/packages/apps/Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java
eaf13a2c154a0c7bf7559b45d33fb589b5bcf3d4 30-Sep-2009 Michael Chan <mchan@android.com> b/2154576 Fixed the problem were some BT profiles were not connected when first UUID notification of many didn't have all the UUIDs

Reset connect timer event if profile was non-empty.
Clear profiles after unpair
mConnectAttemptedWithoutUuid

Change-Id: I5eab1270a755c6c87eb5be13a2f43dbbcd9a2f88
/packages/apps/Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java
079ee952bdfae560c36df1f1dcd3f1177e4afa47 28-Sep-2009 Nick Pelly <npelly@google.com> Update application for android.bluetooth.ParcelUuid -> android.os.ParcelUuid

Change-Id: Iebf2b3ea9cac224e3e6c67e503b1063491dce5bb
/packages/apps/Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java
cb844e2eab4efa03513c0e0a2de7bc18c79dd128 24-Sep-2009 Michael Chan <mchan@android.com> b/2140751 Fixed the problem where BT device icon was showing until pairing happens (actually UUID comes in to be exact)

Change-Id: I670f29d5f9a577ec177b049cfd9c775bf91b60c3
/packages/apps/Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java
2aef1f3c814b1f8aa00aeefff35caf293c738702 21-Sep-2009 Michael Chan <mchan@android.com> b/2126036 Improve remote device capability identification by switching to use UUIDs instead of class bits.

Change-Id: Ie60d1c579e40027c2174215c1989887a3250c9bc
/packages/apps/Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java
16cc86315d7a8e1f6a0f3083d0a810a7cb097832 10-Sep-2009 Nick Pelly <npelly@google.com> Update application for Bluetooth API changes.

Change-Id: I8351611f0f0c5eda3e423dbe7e7b53e52d75ac36
/packages/apps/Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java
f4779354b39353a48d0bec6cc5c71fd73e3f369a 09-Sep-2009 Nick Pelly <npelly@google.com> Update application for Bluetooth API change: deprecation of BluetoothError.
/packages/apps/Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java
ca564d6bdaa56fba60f499e092e1024fff5d1aba 09-Sep-2009 Nick Pelly <npelly@google.com> Update application for Bluetooth API change.
/packages/apps/Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java
53121cf110f358c30ea39224bc3ff0f4c1b56e3f 19-Aug-2009 Jaikumar Ganesh <jaikumar@google.com> Fix device address check when profile state changes.
/packages/apps/Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java
d63c0112251ab4e4e977545368dd703d875012a4 15-Aug-2009 Nick Pelly <npelly@google.com> Bluetooth: Update Settings.apk to match BT API change.

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).
/packages/apps/Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java