9f4afb076256aa563646ae3e10cc3945a8812905 |
|
12-Nov-2012 |
Eric Laurent <elaurent@google.com> |
fix dock audio enable dialog The dock audio enable setting is not saved if the user dismisses the dialog without checking or unchecking the check box. The dialog is then displayed each time the device is docked until the user checks/unchecks the dialog or goes to sound settings to enable or disable dock audio. Bug 7518165. Change-Id: Ifbc6179e78b64b5b7577ac750acf9846525e47c5
/packages/apps/Settings/src/com/android/settings/bluetooth/DockService.java
|
f892bc856c6780187db62681d59ca538a173590f |
|
30-Oct-2012 |
Eric Laurent <elaurent@google.com> |
display audio dialog when connecting low end dock Display a dialog to enable the use of the dock audio connection when a low end dock is connected for the first time. Modify DockService to process docked and undocked messages even if the device indicated is null (meaning the dock is not a bluetooth dock) only for low end docks. Bug 7302106. Change-Id: I331d83a74fecf5f26b24bfc178342df414bd8153
/packages/apps/Settings/src/com/android/settings/bluetooth/DockService.java
|
b8dd637887606242c5cbeaa2fa952946f9013d8f |
|
08-Nov-2011 |
Jeff Brown <jeffbrown@google.com> |
Handle EXTRA_DOCK_STATE_LE_DESK and HE_DESK. Bug: 5569662 Change-Id: Ib2a96a27239228123ed53bd0c03ca412bb4357ba
/packages/apps/Settings/src/com/android/settings/bluetooth/DockService.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/DockService.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/DockService.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/DockService.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/DockService.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/DockService.java
|
cf7ef7cbd6f0165f21d779628dc61485820c305f |
|
16-Oct-2010 |
Jaikumar Ganesh <jaikumar@google.com> |
am 7805fa99: am 022299df: Merge "Disconnect dock only if its connected." into gingerbread Merge commit '7805fa99ffce21bb9b016ffdd5375d331b9a8a54' * commit '7805fa99ffce21bb9b016ffdd5375d331b9a8a54': Disconnect dock only if its connected.
|
9d03e98d22c51e81a01b2bdc91b825bd3b438481 |
|
15-Oct-2010 |
Jaikumar Ganesh <jaikumar@google.com> |
Disconnect dock only if its connected. Scenario: BT is off, device is paired with the desk dock. Media is switched off. So when the user docks, it was trying to disconnect even when BT was off and hence DBUS was crashing. Bug: 3097224 Change-Id: I13e1dd4459c47d5ba9a403f2ae1cc8a131f02a08
/packages/apps/Settings/src/com/android/settings/bluetooth/DockService.java
|
5809d33296d60f54c7e93de2f45bd84579f70449 |
|
19-Aug-2010 |
Jaikumar Ganesh <jaikumar@google.com> |
Update code for public Bluetooth APIs Change-Id: Iab22e4ae3206f9085b2d53b8b18dc2abd6197226
/packages/apps/Settings/src/com/android/settings/bluetooth/DockService.java
|
c5c8dad0afb84bda9495a0aa1f7d6a3db28de5cb |
|
14-Sep-2010 |
Brad Fitzpatrick <bradfitz@android.com> |
Use new apply() instead of commit(). apply() starts an async disk write and doesn't have a return value but is otherwise identical in observable effects. Change-Id: I0f528607319d7eb5136bb11fce0b24d8741ccdf9
/packages/apps/Settings/src/com/android/settings/bluetooth/DockService.java
|
57d5585595810044e7727d4303214f69ff2d77d4 |
|
15-May-2010 |
Michael Chan <mchan@android.com> |
b/2680057 Fixed a bug where bt won't connect when the phone is docked (if Settings wasn't running). The fix was to wait for the Bluetooth Headset service to come up before grabbing the settings and connecting. Change-Id: I57affca2fe7d571c96cfeaf9ffe5439a0b02af45
/packages/apps/Settings/src/com/android/settings/bluetooth/DockService.java
|
732c1dad5a4871597652f17986b7a602897e5a76 |
|
06-Apr-2010 |
Michael Chan <mchan@android.com> |
b/2498180 b/2568119 Retry if BT dock disconnects unexpectedly Change-Id: Ic4771e7c305192fee56f5f80c6cabeecf11a99dc
/packages/apps/Settings/src/com/android/settings/bluetooth/DockService.java
|
ae3311e5bd7b146eb4e1bc6310cbaba051776fb4 |
|
21-Jan-2010 |
Michael Chan <mchan@android.com> |
b/2370089 Pop the dock dialog above the keyguard Change-Id: I958ac22defb057fd1ce98a711e3e92073588b1e8
/packages/apps/Settings/src/com/android/settings/bluetooth/DockService.java
|
c93b82496e18830b1f6b7d441bd29bb1787b9a66 |
|
20-Jan-2010 |
Michael Chan <mchan@android.com> |
b/2332395 Fixed a bug where BT is not disabled if the phone was inserted and removed quickly. Change-Id: Ifa721afa9c4a9d83a4dd70ed75f5d66ec06a01f6
/packages/apps/Settings/src/com/android/settings/bluetooth/DockService.java
|
3fe86a346cdcd41fd9498591571d8b512a130240 |
|
15-Jan-2010 |
Michael Chan <mchan@android.com> |
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
/packages/apps/Settings/src/com/android/settings/bluetooth/DockService.java
|
845e740fc63657438b9085376c8e7d60d8334a72 |
|
14-Jan-2010 |
Michael Chan <mchan@android.com> |
b/2367861 Auto connect if the user turns on BT while docked. Change-Id: I855d0448af9c9c665fb8288c83cd13ae9c3d6050
/packages/apps/Settings/src/com/android/settings/bluetooth/DockService.java
|
c5aa68f3f2201227e85e52ee33937e70e7741c3c |
|
12-Jan-2010 |
Michael Chan <mchan@android.com> |
b/2367020 Enable bt profiles by default for car dock. Change-Id: I95b1330ab432d38fb509321d843d04a41185d331
/packages/apps/Settings/src/com/android/settings/bluetooth/DockService.java
|
fb5b54d77aee1b2d6a0c0ffe7d47c73a204dee28 |
|
04-Jan-2010 |
Michael Chan <mchan@android.com> |
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
/packages/apps/Settings/src/com/android/settings/bluetooth/DockService.java
|
d8eec52a3786a51b38ed280afd84005e6da05ce6 |
|
10-Dec-2009 |
Michael Chan <mchan@android.com> |
b/2318290 connect should be called instead of connect(profile) if device is unpaired. Change-Id: I5d665d1c3149ffc77387f96c3822e80b84c78de1
/packages/apps/Settings/src/com/android/settings/bluetooth/DockService.java
|
29d70e44e42946f7b78f950bad0c4b22c7d5cb5f |
|
17-Dec-2009 |
Michael Chan <mchan@android.com> |
b/2334482 Disable Music and audio by default for the docks Change-Id: I1d84cd1dfe54dd3ae4e9183a291cb8f3e0d5da5a
/packages/apps/Settings/src/com/android/settings/bluetooth/DockService.java
|
052ad24219bbb170d9d028a460741524a768915a |
|
14-Dec-2009 |
Michael Chan <mchan@android.com> |
b/2323277 Fixed race condition where the user clicks on the dialog before dismiss() is processed. Change-Id: Iae98c45e4c1c5d36f33d6519ee2adba515f6b9aa
/packages/apps/Settings/src/com/android/settings/bluetooth/DockService.java
|
6fd5bc935ec3de1d74bd4bbbfc467b8cd4101902 |
|
10-Dec-2009 |
Michael Chan <mchan@android.com> |
b/2296110 Disable debugging/logging code before shipping. Change-Id: I10036c49e3c3d61d0fa1af74f1f0cd9d03502103
/packages/apps/Settings/src/com/android/settings/bluetooth/DockService.java
|
503c236db541b3d7c8278fa63afe4d1b792ac9a9 |
|
09-Dec-2009 |
Michael Chan <mchan@android.com> |
b/2296110 Car Dock - Stop service when done processing each command. Clean up logs. Change-Id: I92124d2856e6c825a2b4148473431789a1f5b156
/packages/apps/Settings/src/com/android/settings/bluetooth/DockService.java
|
d617a0781cd1a39ed0f726545ed23d5b00ca31c2 |
|
10-Dec-2009 |
Michael Chan <mchan@android.com> |
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
/packages/apps/Settings/src/com/android/settings/bluetooth/DockService.java
|
146385663bb55d9f55ad179d3c35ccf5cac13fc8 |
|
08-Dec-2009 |
Michael Chan <mchan@android.com> |
b/2296110 Car Dock - Enable BT if not already enabled. Change-Id: If1798f62c9438e58c342869176437067f941c8cb
/packages/apps/Settings/src/com/android/settings/bluetooth/DockService.java
|
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/DockService.java
|