History log of /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/BluetoothControllerImpl.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
bba7317d0764f40ef365d4152c68e7dd3bacc580 12-Aug-2015 Jason Monk <jmonk@google.com> Add more intelligence to bluetooth connection state

Since bluetooth connection state has a mind of its own... If we
think we are connected, but we don't actually know about any devices
that are currently connected, we probably aren't. So set the state
that way, and let everyone know.

Bug: 22977827
Change-Id: I9266f5394b179a3917b3818839f7c6b2dc238376
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/BluetoothControllerImpl.java
909705601e94ffb4f4bfa4b48fa9e50f8302636a 19-Jun-2015 Jason Monk <jmonk@google.com> Try to keep connection state more up to date

It seems that connection state isn't always correct, make sure we
update it every time a device changes state, so that we don't stay
connected while no device is connected.

Bug: 21896051
Change-Id: I5aa398f33a916609742e22ce5affd4211ed0a626
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/BluetoothControllerImpl.java
a7d92b6fdec6b4f572144611b768022e6a654736 27-May-2015 Jason Monk <jmonk@google.com> Cache bluetooth connection state from callback

Bug: 21444506
Change-Id: Idebcc1974fdd7551645d10eea4e30d9e1133556b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/BluetoothControllerImpl.java
e15cecc90cbe0b7ae39e524e612fb6043324bad8 20-May-2015 Jason Monk <jmonk@google.com> Merge "Don't crash in bugreport on devices without BT" into mnc-dev
09389a9b5860b700c5826125f5e3ce62b37ff500 19-May-2015 Jason Monk <jmonk@google.com> Don't crash in bugreport on devices without BT

Bug: 21160862
Change-Id: Ia3295fc6ebbd8ad1b5d03c70c89370d09f9cbb03
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/BluetoothControllerImpl.java
744cf647f71b1e5a012a90ef195bf2c3c486f418 19-May-2015 Jason Monk <jmonk@google.com> SysUI: Move BT receivers to bg

Bug: 19520495
Change-Id: I58e7d023b9eaf67fccd1634e00803c8c8d871fff
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/BluetoothControllerImpl.java
be3c5dbee66758517a8198f98ed2e20c80af326b 04-Feb-2015 Jason Monk <jmonk@google.com> Make QS use SettingsLib's BT code

A couple of changes needed to be made to SettingsLib to support this.
- SettingsLib needed to track ACTION_CONNECTION_STATE_CHANGED
- The summary code needed to move from Settings up into SettingsLib
- Added a getMaxConnectionState to CachedBluetoothDevice
- This simplifies the states of all of the profiles into
one.

Change-Id: I7f828f0038ad0cf39274986ece6d486d545f0286
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/BluetoothControllerImpl.java
4ae97d3632edf4fd00fe23b9a2304e4e0f2348b7 17-Dec-2014 Jason Monk <jmonk@google.com> Post broadcasts to bg and cache bt state info

Add a background thread to post bt broadcasts to for processing.

Try to cache all bluetooth connection state info possible and pull
from broadcasts because requesting it too often may be locking up
devices.

Bug: 18771211
Change-Id: I2cf4852c935b2f471e735d953370e5d9e996c6f7
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/BluetoothControllerImpl.java
650639f9a5aeeec9bb697bea50a27bb702205d70 19-Dec-2014 Andre Eisenbach <eisenbach@google.com> Exclude unnecessary intents in SystemUI

Bug: 18771211
Change-Id: Ie1288938b51aa85ba36aabbc1c34aee5fdbf4e28
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/BluetoothControllerImpl.java
1206321f388333030d6301d806c826f9b3699005 11-Dec-2014 Jason Monk <jmonk@google.com> Fix crash in BluetoothControllerImpl

Bug: 18717777
Change-Id: I396aa8b517054b1fd4c8fea7f0343f138cb261a7
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/BluetoothControllerImpl.java
4630c89a7642d1ae0d528f6d8e23cf89cba01b7d 08-Dec-2014 Jason Monk <jmonk@google.com> BluetoothControllerImpl: track bluetooth better

Match settings behavior better:
- Get connection info from profiles so it is for all devices
(CONNECTION_STATE_CHANGED only updates one)
- Disconnect from all known connections so that 'x' does something
- When device is disconnected without CONNECTION_STATE_CHANGED
then find a new 'last' device that is connected
- Listen to a bunch more broadcasts to make sure info is always
up to date.

Bug: 18210666
Bug: 18638010
Change-Id: Ie003b67bbdd0d452b7472c644d90bca929e5cd29
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/BluetoothControllerImpl.java
27bdff7750f7f85fd8922385707342d37e59e406 17-Jul-2014 John Spurlock <jspurlock@google.com> QS: Deal with null uuids in BT controller.

Fix crash when the device is no longer available.

Bug:16355690
Change-Id: I1cf652a408fa221649950d728bc88dd93fc93b65
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/BluetoothControllerImpl.java
486b78e42652466f6241eb87d5bed60040db7a25 07-Jul-2014 John Spurlock <jspurlock@google.com> QS: Introduce bluetooth control panel.

- Factor out common detail item panel view, share with Wifi.
- Add an empty state (large icon + text)
- Implement connect / disconnect for supported BT profiles.
- Wire up "scanning" state, but still waiting on asset.
- Add BT controller info to dump.

Bug:16235253
Change-Id: Icf854cafba962fe4b63767d7206e309d80b7b87b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/BluetoothControllerImpl.java
a625b7412069342c30e9f964ce9abc969bf097b4 05-Jun-2014 John Spurlock <jspurlock@google.com> QuickSettings: Bluetooth updates.

- Use "Bluetooth" string when connecting.
- Use @hidden device alias (instead of name) for label.
- Use the same icon in the status bar.

Bug:15186962
Change-Id: I25613bebf069c91e76d6933f2512b3f0a8020474
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/BluetoothControllerImpl.java
d1c86e2cb272f8b8be5b9b47aa4ec7084fe61c22 01-Jun-2014 John Spurlock <jspurlock@google.com> QuickSettings: Icon updates + BT connecting state.

Bug:15186962
Change-Id: I56de6f3cabcb36b13617d4027323a078cceb9587
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/BluetoothControllerImpl.java
ccb6b9a90f228cc4e31a9442ed28756ff474c080 17-May-2014 John Spurlock <jspurlock@google.com> QuickSettings: only listen when expanded.

Register for active state updates only when the quick settings
panel is open.

Don't allow a dual-target tile and single-target tile on the same row.

Bug:14133785
Change-Id: I8a5ad3df9b67b5bc3518210d62b705483a422d8e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/BluetoothControllerImpl.java
af8d6c44f06d2f8baac2c5774a9efdae3fc36797 07-May-2014 John Spurlock <jspurlock@google.com> New quick settings implementation.

Bug:14133785
Change-Id: I7f57f8e7ebcc3e1a06fa5204f477470f14299e1f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/BluetoothControllerImpl.java