Bug 1058136 - Handle compose event to optimize composition usage; r=cpeterson
This commit is contained in:
@@ -472,7 +472,8 @@ AndroidGeckoEvent::Init(JNIEnv *jenv, jobject jobj)
|
||||
mStart = jenv->GetIntField(jobj, jStartField);
|
||||
mEnd = jenv->GetIntField(jobj, jEndField);
|
||||
|
||||
if (mAction == IME_REPLACE_TEXT) {
|
||||
if (mAction == IME_REPLACE_TEXT ||
|
||||
mAction == IME_COMPOSE_TEXT) {
|
||||
ReadCharactersField(jenv);
|
||||
} else if (mAction == IME_UPDATE_COMPOSITION ||
|
||||
mAction == IME_ADD_COMPOSITION_RANGE) {
|
||||
|
||||
Reference in New Issue
Block a user