DescriptionReturn null when selected text is empty
InputConnection#getSelectedText() should return null when the selection
is empty. ThreadedInputConnection was not doing this correctly, and confused
some OEM keyboards.
BUG=638201
Committed: https://crrev.com/fe62ee1b4b965d3c63bee8f2d0df160ae4529ae0
Cr-Commit-Position: refs/heads/master@{#414821}
Patch Set 1 #Patch Set 2 : Return null when selected text is empty #Patch Set 3 : fixed a failing test #
Messages
Total messages: 14 (8 generated)
|