Commit Graph

142 Commits

Author SHA1 Message Date
Michael Chan
293867bd10 b/2174155 Remove debug logging in bluetooth
Change-Id: Ia40af3bb362fe99fbfda1a23cdcb04fb96af7ca8
2010-04-07 13:31:21 -07:00
Michael Chan
d9db9e7621 Merge "b/2498180 b/2568119 Retry if BT dock disconnects unexpectedly" into froyo 2010-04-07 13:12:33 -07:00
Michael Chan
732c1dad5a b/2498180 b/2568119 Retry if BT dock disconnects unexpectedly
Change-Id: Ic4771e7c305192fee56f5f80c6cabeecf11a99dc
2010-04-06 15:42:04 -07:00
Adam Powell
54f334489c Fix bug 2564450 - prevent deadlock in BT settings
Change-Id: Iea5d341d771d18e5d9bf7c6686995ba6cbbf2172
2010-04-06 13:32:35 -07:00
Jaikumar Ganesh
cdc5e6eea2 Stop scanning as soon as device is picked in the device picker.
This improves OPP transfer time by a couple of seconds.

Change-Id: I40e8f092ca3950a2d180b78f07f1cc717f2daaf6
2010-03-25 14:21:10 -07:00
Michael Chan
4f94e0bee6 Merge "b/2310373 Show pairing dialogs if the device has been scanning for bt devices recently." 2010-03-03 21:29:22 -08:00
Michael Chan
76098b7f7a b/2310373 Show pairing dialogs if the device has been scanning for bt devices recently.
Change-Id: Iec9eb37a5e79b63cc3cf226e2ead6d9ed06d56a6
2010-03-03 12:35:49 -08:00
Michael Chan
628f9b3889 b/2482585 Bluetooth settings: remove "Scan for devices" from menu
Change-Id: I206794245a6afeb97366dd32e609f4e7f9374c20
2010-03-02 17:42:32 -08:00
Michael Chan
88d071fce4 am 3a6b2df2: am 324ab848: Merge "b/2370089 Pop the dock dialog above the keyguard" into eclair
Merge commit '3a6b2df23950cd64c10dfbb437aa56a99cbce54a'

* commit '3a6b2df23950cd64c10dfbb437aa56a99cbce54a':
  b/2370089 Pop the dock dialog above the keyguard
2010-01-25 18:09:45 -08:00
Michael Chan
4691219ce5 am fcd4e7fe: am 04bdae75: Merge "b/2332395 Fixed a bug where BT is not disabled if the phone was inserted and removed quickly." into eclair
Merge commit 'fcd4e7fec3c80d0a16630246c4942595d34c655c'

* commit 'fcd4e7fec3c80d0a16630246c4942595d34c655c':
  b/2332395 Fixed a bug where BT is not disabled if the phone was inserted and removed quickly.
2010-01-22 18:49:07 -08:00
Michael Chan
d0c57fdc02 am 97ed3f4b: am 3fe86a34: b/2332395 Disable BT when undocked if BT was off to at docking time unless if 1) the user has manually turned off bt while docked or 2) there\'s a connect device at the time we are ready to turn off bt
Merge commit '97ed3f4b1ce40fd3ec8bc34bf2bfb7438b28afd7'

* commit '97ed3f4b1ce40fd3ec8bc34bf2bfb7438b28afd7':
  b/2332395 Disable BT when undocked if BT was off to at docking time
2010-01-22 12:35:59 -08:00
Michael Chan
ae3311e5bd b/2370089 Pop the dock dialog above the keyguard
Change-Id: I958ac22defb057fd1ce98a711e3e92073588b1e8
2010-01-20 15:39:13 -08:00
Michael Chan
4e5d33d49f am 49efbf8b: am c9b9f650: Merge "b/2367861 Auto connect if the user turns on BT while docked." into eclair
Merge commit '49efbf8b5b7a6817a4a1020982cb34f4ca226d48'

* commit '49efbf8b5b7a6817a4a1020982cb34f4ca226d48':
  b/2367861 Auto connect if the user turns on BT while docked.
2010-01-20 14:35:08 -08:00
Michael Chan
c93b82496e b/2332395 Fixed a bug where BT is not disabled if the phone was inserted and removed quickly.
Change-Id: Ifa721afa9c4a9d83a4dd70ed75f5d66ec06a01f6
2010-01-19 22:35:28 -08:00
Michael Chan
3fe86a346c b/2332395 Disable BT when undocked if BT was off to at docking time
unless if 1) the user has manually turned off bt while docked or
2) there's a connect device at the time we are ready to turn off bt

Change-Id: Ic27308688a525120a09a25c9416b3cdc477412ab
2010-01-19 16:15:44 -08:00
Chia-chi Yeh
b90452f3d2 Settings: revise WifiEnabler and BluetoothEnabler.
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
2010-01-15 06:12:29 +08:00
Michael Chan
845e740fc6 b/2367861 Auto connect if the user turns on BT while docked.
Change-Id: I855d0448af9c9c665fb8288c83cd13ae9c3d6050
2010-01-14 11:26:18 -08:00
Michael Chan
07723b5966 am d69a5ee2: am c5aa68f3: b/2367020 Enable bt profiles by default for car dock.
Merge commit 'd69a5ee28cb5164233805a751a7c3deafba58668'

* commit 'd69a5ee28cb5164233805a751a7c3deafba58668':
  b/2367020 Enable bt profiles by default for car dock.
2010-01-12 13:45:36 -08:00
Michael Chan
c5aa68f3f2 b/2367020 Enable bt profiles by default for car dock.
Change-Id: I95b1330ab432d38fb509321d843d04a41185d331
2010-01-12 12:54:51 -08:00
Michael Chan
fb5b54d77a b/2335780 Fixed race conditions which causes BT to not be in the correct state in respect to the dock state. DO NOT MERGE
Change-Id: I02825cbde24ff0215787bb2d4f78cd6e7e1f4033
2010-01-08 18:33:43 -08:00
Michael Chan
89a363ebbc Merge "b/2335780 Fixed race conditions which causes BT to not be in the correct state in respect to the dock state." 2010-01-08 18:14:38 -08:00
Michael Chan
537bdb0bb8 b/2335780 Fixed race conditions which causes BT to not be in the correct state in respect to the dock state.
Change-Id: I4428708e02e7dcbb26795b0982cfe4389df60a46
2010-01-08 17:17:08 -08:00
Jeff Sharkey
1c4e96864f Allow bluetooth in airplane mode when in "toggleable" list.
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
2009-12-22 14:35:44 -08:00
Michael Chan
fc34079510 am f4ec356d: am d8eec52a: b/2318290 connect should be called instead of connect(profile) if device is unpaired.
Merge commit 'f4ec356df960245889da6f7518ec28c862ebf5e6'

* commit 'f4ec356df960245889da6f7518ec28c862ebf5e6':
  b/2318290 connect should be called instead of connect(profile) if device is unpaired.
2009-12-21 14:39:06 -08:00
Michael Chan
d8eec52a37 b/2318290 connect should be called instead of connect(profile) if device is unpaired.
Change-Id: I5d665d1c3149ffc77387f96c3822e80b84c78de1
2009-12-17 14:30:05 -08:00
Michael Chan
51f99283c6 am fcea8c0d: am 29d70e44: b/2334482 Disable Music and audio by default for the docks
Merge commit 'fcea8c0d131e019e4441fa239720a5e4ecf9ed7d'

* commit 'fcea8c0d131e019e4441fa239720a5e4ecf9ed7d':
  b/2334482 Disable Music and audio by default for the docks
2009-12-17 11:14:29 -08:00
Michael Chan
29d70e44e4 b/2334482 Disable Music and audio by default for the docks
Change-Id: I1d84cd1dfe54dd3ae4e9183a291cb8f3e0d5da5a
2009-12-17 10:49:14 -08:00
Michael Chan
2321e1dca0 am 052ad242: b/2323277 Fixed race condition where the user clicks on the dialog before dismiss() is processed.
Merge commit '052ad24219bbb170d9d028a460741524a768915a' into eclair-mr2

* commit '052ad24219bbb170d9d028a460741524a768915a':
  b/2323277 Fixed race condition where the user clicks on the dialog before dismiss() is processed.
2009-12-14 11:49:24 -08:00
Michael Chan
052ad24219 b/2323277 Fixed race condition where the user clicks on the dialog before dismiss() is processed.
Change-Id: Iae98c45e4c1c5d36f33d6519ee2adba515f6b9aa
2009-12-14 10:42:27 -08:00
Michael Chan
38badc8ba0 am 9463c2f8: b/2320107 NPE when receiving a Undock event without a device
Merge commit '9463c2f8d5f09ef9cc015405640bbf845f0f7a8a' into eclair-mr2

* commit '9463c2f8d5f09ef9cc015405640bbf845f0f7a8a':
  b/2320107 NPE when receiving a Undock event without a device
2009-12-10 23:08:40 -08:00
Michael Chan
9463c2f8d5 b/2320107 NPE when receiving a Undock event without a device
Change-Id: Ic3c964f2d58462a1b7c82f2de2dd997679f90ba7
2009-12-10 22:53:14 -08:00
Michael Chan
bd0b2542a8 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.
2009-12-10 19:48:21 -08:00
Jaikumar Ganesh
3681cfb83b am 613549a6: Merge change I2c3621d1 into eclair
Merge commit '613549a622eac8278c9f81a1df83484c256652bf' into eclair-mr2

* commit '613549a622eac8278c9f81a1df83484c256652bf':
  Fix desk dock getting stuck after unpairing.
2009-12-10 17:59:14 -08:00
Michael Chan
175821f978 am d1469da1: Merge change I10036c49 into eclair
Merge commit 'd1469da150f44415135d657d57592f066670b317' into eclair-mr2

* commit 'd1469da150f44415135d657d57592f066670b317':
  b/2296110 Disable debugging/logging code before shipping.
2009-12-10 17:59:10 -08:00
Jaikumar Ganesh
41fccf2cb3 am 6e3ee10a: Fix auto connection of A2DP profile.
Merge commit '6e3ee10a99b4d71ffe8f2473dcb8c6dbf4da0ed5' into eclair-mr2

* commit '6e3ee10a99b4d71ffe8f2473dcb8c6dbf4da0ed5':
  Fix auto connection of A2DP profile.
2009-12-10 17:56:44 -08:00
Michael Chan
c8559a526c 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
2009-12-10 17:41:34 -08:00
Michael Chan
5217a122d7 am 1d5f14bd: Merge change I92124d28 into eclair
Merge commit '1d5f14bd54490ccd4c93dfe350aa5abfbfe9ceda' into eclair-mr2

* commit '1d5f14bd54490ccd4c93dfe350aa5abfbfe9ceda':
  b/2296110 Car Dock - Stop service when done processing each command. Clean up logs.
2009-12-10 17:41:29 -08:00
Michael Chan
20b0ae927e am 488a80a7: Merge change Id587a517 into eclair
Merge commit '488a80a7b111f5906bf51101785a95a6c640d265' into eclair-mr2

* commit '488a80a7b111f5906bf51101785a95a6c640d265':
  b/2314560 Prevent PIN dialog from showing up on undocked docks
2009-12-10 17:41:23 -08:00
Michael Chan
a87f2fd7d8 b/2320107 Fixed NPE for class bits. Docks do not have class bits.
Change-Id: Ibe4f697a906010f8f3ee270b891db286a4976f8a
2009-12-10 16:07:11 -08:00
Android (Google) Code Review
613549a622 Merge change I2c3621d1 into eclair
* changes:
  Fix desk dock getting stuck after unpairing.
2009-12-10 02:44:12 -08:00
Android (Google) Code Review
d1469da150 Merge change I10036c49 into eclair
* changes:
  b/2296110 Disable debugging/logging code before shipping.
2009-12-10 02:41:41 -08:00
Jaikumar Ganesh
b172cd5d23 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
2009-12-10 02:02:47 -08:00
Jaikumar Ganesh
6e3ee10a99 Fix auto connection of A2DP profile.
When the user selects profiles from the UI, set priority to ON.

Dr No: Eastham
Bug: 2317323
2009-12-09 19:15:30 -08:00
Michael Chan
6fd5bc935e b/2296110 Disable debugging/logging code before shipping.
Change-Id: I10036c49e3c3d61d0fa1af74f1f0cd9d03502103
2009-12-09 18:00:48 -08:00
Android (Google) Code Review
d70e205b4c Merge change I724fc8fd into eclair
* changes:
  b/2317194 Synchronize command queue to prevent ConcurrentModificationException from happening
2009-12-09 17:45:07 -08:00
Michael Chan
792edfcf12 b/2317194 Synchronize command queue to prevent ConcurrentModificationException from happening
Change-Id: I724fc8fd07d33cfa6e68221a766754dcb1f6aeba
2009-12-09 17:34:54 -08:00
Michael Chan
503c236db5 b/2296110 Car Dock - Stop service when done processing each command. Clean up logs.
Change-Id: I92124d2856e6c825a2b4148473431789a1f5b156
2009-12-09 17:27:56 -08:00
Michael Chan
d617a0781c b/2314560 Prevent PIN dialog from showing up on undocked docks
If unpaired while undocked, device will be removed from the BT device list.
If unpaired while docked, the user can do pair and connect. No PIN dialog will pop up.
If undocked after unpaired, device will be removed from the BT device list.

Change-Id: Id587a517999e08641451f78dec8696a06028cf16
2009-12-09 17:16:46 -08:00
Michael Chan
a20da808f0 am 14638566: b/2296110 Car Dock - Enable BT if not already enabled.
Merge commit '146385663bb55d9f55ad179d3c35ccf5cac13fc8' into eclair-mr2

* commit '146385663bb55d9f55ad179d3c35ccf5cac13fc8':
  b/2296110 Car Dock - Enable BT if not already enabled.
2009-12-08 14:22:17 -08:00
Michael Chan
146385663b b/2296110 Car Dock - Enable BT if not already enabled.
Change-Id: If1798f62c9438e58c342869176437067f941c8cb
2009-12-08 14:18:13 -08:00