fix(bluetooth): add passkey/PIN display dialogs for keyboard pairing
Bluetooth keyboards require the host to display a passkey for the user to type. Previously this was not supported because the agent capability was set to DisplayYesNo and the DisplayPasskey/DisplayPinCode events were not handled. - Change agent capability to KeyboardDisplay - Add DisplayPasskey dialog with typed-key progress indicator - Add DisplayPinCode dialog for older keyboards - Auto-dismiss display dialogs when device reports Paired=true
This commit is contained in:
parent
de5e16d360
commit
989a56346a
4 changed files with 146 additions and 197 deletions
6
i18n/en/cosmic_settings.ftl
vendored
6
i18n/en/cosmic_settings.ftl
vendored
|
|
@ -252,6 +252,12 @@ bluetooth-paired = Previously connected devices
|
|||
bluetooth-confirm-pin = Confirm Bluetooth PIN
|
||||
.description = Please confirm that the following PIN matches the one displayed on { $device }
|
||||
|
||||
bluetooth-display-passkey = Bluetooth Pairing
|
||||
.description = Please type the following passkey on { $device }, then press Enter
|
||||
|
||||
bluetooth-display-pin = Bluetooth Pairing
|
||||
.description = Please type the following PIN on { $device }, then press Enter
|
||||
|
||||
bluetooth-available = Nearby devices
|
||||
|
||||
bluetooth-adapters = Bluetooth adapters
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue