Chromium Code Reviews
Description[Remoting Android] Hide soft keyboard button when physical keyboard is connected
Currently the soft keyboard button on the desktop actionbar is visible when a
physical keyboard is present, in which case the button has unexpected behavior:
* Soft keyboard doesn't show up since physical keyboard is present.
* Actionbar and status bar won't go away since triggering the IME blocks
requests to hide the status bar but won't show any soft keyboard.
Neither can be easily fixed due to limitation of available API. So this CL
hides the soft keyboard button when a physical keyboard is present to prevent
unexpected behaviors.
BUG=640426
Committed: https://crrev.com/f0925da1a559aa0d3d7e02423ad22e45a626f0fb
Cr-Commit-Position: refs/heads/master@{#423401}
Patch Set 1 #
Total comments: 7
Patch Set 2 : Fix hasPhysicalKeyboard checking #Patch Set 3 : Add check for nonhidden keyboard #Patch Set 4 : Only hide the button for QWERTY keyboard #
Messages
Total messages: 11 (4 generated)
|
|||||||||||||||||||||||||||||||||||||