OSDN Git Service

Make sure PIN edit control is focused
authorAntony Sargent <asargent@google.com>
Thu, 13 Jul 2017 00:29:10 +0000 (17:29 -0700)
committerAntony Sargent <asargent@google.com>
Thu, 13 Jul 2017 00:34:36 +0000 (17:34 -0700)
commit4d7df06eb47443d56e1328b01486c2413d099675
treee0443e8f70358016ea4d12c5bb4b03d1ef3be4d4
parentc7b3f1f9055090d2da5b9173225318a84fe86b62
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
AndroidManifest.xml
src/com/android/settings/bluetooth/BluetoothPairingDialogFragment.java
tests/robotests/src/com/android/settings/bluetooth/BluetoothPairingDialogTest.java