summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/src/com/android/systemui/keyboard
Commit message (Collapse)AuthorAgeFilesLines
* SystemUI: fix automatic pairing of BT keyboardsDmitry Torokhov2015-10-221-22/+46
| | | | | | | | | | | | | | | After reset (docking) Pixel C Keyboard that was previously paired with a device goes into so-called non-discoverable mode, where it will establish connection only with device that it has connected before. When scanning for available devices we need to wait till the keyboard starts advertising itself as discoverable, and only then try to pair. Also, let's flush the device cache when we attach the base to make sure the device that we seen before and cached again in the right state after reset. Bug: 24915541 Change-Id: I136c1c4235080a25529b4b1c2b1da9bc18508811
* Add SystemUI component to watch for keyboard attachment.Michael Wright2015-10-122-0/+583
Add a new SystemUI component to watch for keyboard attachment / detachment. If the config specifies the name of a keyboard that is packaged with the device, then SystemUI will ask the user if they would like to enable BT (if disabled) and then attempt to pair to the device. Bug: 22876536 Change-Id: I786db35524d49706d5e61d8b8bc71194d50113f3