Upgrade Bluetooth pairing dialogs for ICS.
* Change Bluetooth pairing dialogs to match ICS wireframes. * Default to numeric soft keyboard for PIN entry, and add checkbox to allow user to switch to alphanumeric keyboard if necessary. * Move all Bluetooth advanced settings into action bar menu. * Toggle visibility by touching "My device" entry in devices list. Change-Id: Ic2377eb4364f41d215181cb1e3933997c9db9106
This commit is contained in:
@@ -257,6 +257,14 @@ final class CachedBluetoothDevice implements Comparable<CachedBluetoothDevice> {
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return true if user initiated pairing on this device. The message text is
|
||||
* slightly different for local vs. remote initiated pairing dialogs.
|
||||
*/
|
||||
boolean isUserInitiatedPairing() {
|
||||
return mConnectAfterPairing;
|
||||
}
|
||||
|
||||
void unpair() {
|
||||
disconnect();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user