Index: chrome/browser/resources/settings/people_page/setup_pin_dialog.js |
diff --git a/chrome/browser/resources/settings/people_page/setup_pin_dialog.js b/chrome/browser/resources/settings/people_page/setup_pin_dialog.js |
index 72b68c829117e51f0c2c6f3cd11895926a6be534..9635f8172ec49e927a1838d7f4295b96429f7fda 100644 |
--- a/chrome/browser/resources/settings/people_page/setup_pin_dialog.js |
+++ b/chrome/browser/resources/settings/people_page/setup_pin_dialog.js |
@@ -78,6 +78,11 @@ Polymer({ |
open: function() { |
this.$.dialog.showModal(); |
this.$.pinKeyboard.focus(); |
+ |
+ // Each tap of the PIN keyboard button transfers focus to the PIN input, |
+ // which will keep opening the virtual keyboard. Disable the virtual |
+ // keyboard while this dialog is present. |
+ chrome.send('EnableVirtualKeyboardOverride', [true]); |
}, |
close: function() { |
@@ -85,6 +90,9 @@ Polymer({ |
this.$.dialog.close(); |
this.resetState_(); |
+ |
+ // Renable the virtual keyboard. |
+ chrome.send('EnableVirtualKeyboardOverride', [false]); |
}, |
/** |