History log of /packages/apps/Settings/src/com/android/settings/bluetooth/DockEventReceiver.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/DockEventReceiver.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/DockEventReceiver.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/DockEventReceiver.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/DockEventReceiver.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/DockEventReceiver.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/DockEventReceiver.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/DockEventReceiver.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/DockEventReceiver.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/DockEventReceiver.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/DockEventReceiver.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/DockEventReceiver.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/DockEventReceiver.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/DockEventReceiver.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/DockEventReceiver.java