History log of /packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothPairingDialogFragment.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
563c4a6557e61451973311e66482c81f877b8c90 15-Aug-2017 Antony Sargent <asargent@google.com> Fix rotation bug in Bluetooth pairing PIN dialog

BluetoothPairingDialogFragment has code that makes the OK button on the
dialog disabled until the user has entered at least one character into
the PIN field. However it didn't properly handle the case where the user
had entered some text and then rotated the screen - because it always
marked the OK button as disabled during onShow even if it already had
some content. This CL fixes that by looking at the text content and only
disabling the OK button if the content is empty.

Bug: 36514895
Test: make RunSettingsRoboTests
Change-Id: I4e8e70089a862e67b20ff614bbaa64fc2b641fd4
/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothPairingDialogFragment.java
4d7df06eb47443d56e1328b01486c2413d099675 13-Jul-2017 Antony Sargent <asargent@google.com> Make sure PIN edit control is focused

When doing Bluetooth pairing and the dialog reqesting a PIN comes up, we
want the PIN field to be focused and the keyboard to be shown. This fixes
a regression from N.

Bug: 62857671
Test: make RunSettingsRoboTests
Change-Id: I00dabfda737b6ac61b50518e11f21e5f9a5a1be1
/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothPairingDialogFragment.java
2a67cf046511865107f78104b4296b8967d1cd5b 25-Apr-2017 Jack He <siyuanh@google.com> Bluetooth: Dismiss pairing dialog on user click

* Existing pairing dialog should be dismissed when user clicks on Yes/No
* In a pairing session with multiple pairing dialogs, this is necessary
as otherwise the second pairing dialog will not be shown
* Modified unit test to test this behavior
* Launch pairing dialog as UserHandle.CURRENT to avoid Context warnings

Bug: 35833536
Test: make, unit test, pair with Bluetooth devices
Change-Id: I1823b78d287134505f59eab7caca2329ecc3a36f
/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothPairingDialogFragment.java
265d3c2a0c36251bf8a9f571d7239b6dd404d942 22-Jun-2016 Tamas Berghammer <tberghammer@google.com> Update package names to work with the proto3 compiler

Bug: b/28974522
Change-Id: I5f3adf4946ee4ba1e09e4f40afe83c151405972a
/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothPairingDialogFragment.java
f492c28cc17e6def6d196e466256081662848be4 25-Oct-2016 Salvador Martinez <dehboxturtle@google.com> Robotests for BluetoothPairingDialog

Created some tests to protect some basic bluetooth
pairing dialogs features from regressing. Most of the
tests in this CL ensure that the view is properly
created and that it is properly updating the
associated controller when a relevant action occurs.

Test: make RunSettingsRoboTests
Bug: 32180625
Change-Id: I2f4103a39ffced52353712f952e8ff3d26590169
/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothPairingDialogFragment.java
d98d0837d85d11b29967c924638a1f0af6e08e24 04-Oct-2016 Salvador Martinez <dehboxturtle@google.com> Refactoring for bluetooth dialogs

Dialogs displayed when attempting to connect
to a bluetooth device have been refactored so
that they use a proper dialog fragment. Hardware
dependencies have also been refactored into a
controller class to make it possible to test
these dialogs as well as the controller
independently of one another.

Test: RoboTests
Bug: 32180625
Change-Id: I5447f8299bc13e139052635fc63546cbfc997f33
/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothPairingDialogFragment.java