f8745fc19a4168b38e053f23e2ce2078d1b6f407 |
|
31-Aug-2017 |
Jason Monk <jmonk@google.com> |
Add bt battery level to QS icons Test: visual Change-Id: I690e496e3e88fd734d43ea2f25396772e922940c Fixes: 63393322 (cherry picked from commit 3fd0b14fe6ad26d99e626b98516b1c86c401d8b9)
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/BluetoothControllerImpl.java
|
0f5d402c1e893dbddb9eb629cfeb9ece153f9b16 |
|
15-Aug-2017 |
Jason Monk <jmonk@google.com> |
Protect against weak pointer crash. Because assuming GC won't run within any period of time is not a valid testing strategy. Test: runtest systemui Change-Id: Id29ab777a70ca27b6ca33bd2a44cfb4c38f0fd09 Fixes: 64581449
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/BluetoothControllerImpl.java
|
bd8d0332bfa2650d516f391ea41b243a74d5138e |
|
12-Jun-2017 |
phweiss <phweiss@google.com> |
Skip empty bluetooth-page in QS when bluetooth is disallowed If DISALLOW_BLUETOOTH is set, tapping bluetooth in QS used to open the empty device-selection screen with an untoggable switch. Now, it directly brings you to the settings page with policy transparency, mirroring the behaviour of DISALLOW_CONFIG_BLUETOOTH. Bug: 32895313 Test: manual Change-Id: I77230532428a4dd2a7769aa73dcc195c51312c36
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/BluetoothControllerImpl.java
|
9ef03b463c0926ab60b5e6528f94a221e0dd5631 |
|
13-Jun-2017 |
Jason Monk <jmonk@google.com> |
Fix sysui depending on slow bt calls Move calls to a background thread and cache the results to avoid slowing down sysui when there are too many bluetooth devices. Test: runtest systemui Change-Id: Ica10e86ca6b2783c30ed9de68f1a91dc5cfdf068 Fixes: 38118549
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/BluetoothControllerImpl.java
|
6a73e6346367ff9f2841eeecb66a5570f3bf6781 |
|
17-Mar-2017 |
Jason Monk <jmonk@google.com> |
Fix QS/status bar BT state The adapter state doesn't always seem to be reported correctly, so if in doubt, calculate the adapter state based on the list of devices we have. Test: runtest systemui Change-Id: I25f68665cdcb411e6976c9efc6b61612fe81302c Fixes: 34598634
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/BluetoothControllerImpl.java
|
8852905b0b3837e326127c6dfef6f699124ce715 |
|
04-Nov-2016 |
Jason Monk <jmonk@google.com> |
Unit testing for fragments. Set up a base class for testing fragments that will generate the host and run the fragment through some lifecycle checks to make sure it does ok with standard lifecycle. Fragment tests will also automatically check for any sort of leaks related to bindings, receivers, or other callbacks in sysui. This requires changing the statusbar.policy classes with callbacks to have a common interface. Lastly also fixes a few lifecycle bugs in QS found from the above tests. Bug: 32609190 Test: runtest systemui Change-Id: I52007c696c2fd41914bba4ba9d8055f2b564a7d8
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/BluetoothControllerImpl.java
|
fac2538e463138a8a1a92bc94af3f310d28718b4 |
|
19-Jul-2016 |
Jason Monk <jmonk@google.com> |
QS: Make BT detail be more consistent with Settings - Show turning on as on - Disable switch when in a turning on/off state Change-Id: I55f977808d1b881f6dc27192dcc2e907b0576447 Fixes: 29237638
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/BluetoothControllerImpl.java
|
a4b5486a7061cf099a02706b35935b57964937cb |
|
17-Jun-2016 |
Adrian Roos <roosa@google.com> |
Fix data race Fixes a race in BluetoothControllerImpl that could lead to a ConcurrentModificationException, by moving the manipulation of the callbacks array to the handler. Change-Id: I7c3be74d239d4706f55357f54e539b7b6439e76d Fixes: 29390132
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/BluetoothControllerImpl.java
|
b6fc931204a3e7a40ac2dfda67f4b61aef9e4b5b |
|
27-Jan-2016 |
Sudheer Shanka <sudheersai@google.com> |
Add padlocks to more qs tiles. Bug: 26764485 Bug: 26765645 Change-Id: I89bb1b3b9a507772299778a1b3611884441408c9
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/BluetoothControllerImpl.java
|
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
|