commit | c743cb94770701ec20a01b57b09232f1aae5bcbb | [log] [tgz] |
---|---|---|
author | Jean Chalard <jchalard@google.com> | Thu Sep 12 16:28:45 2013 +0900 |
committer | Jean Chalard <jchalard@google.com> | Thu Sep 12 16:52:56 2013 +0900 |
tree | c86cf63642f0c8c9dcc13733f1eeff47054d525c | |
parent | 737d2c0b92b69d9069de6fe0e2785676b9a10d78 [diff] |
Don't send the same values to onUpdateSelection repeatedly If the IME is repeatedly changing the text in its onUpdateSelection handler, this will crash it with a stack overflow exception. It's better than the old behavior, which would result in a busyloop likely to make the device completely unresponsive. Bug: 10301239 Change-Id: I170cfb8ef20fc056d4725931890a987aefcaea8b