Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit abb4a7f2 authored by Bernhard Rosenkränzer's avatar Bernhard Rosenkränzer Committed by Harry Youd
Browse files

Don't crash when displaying the " key

When displaying any key selection that has a " key, AOSP 8.0.0_r4's
LatinIME crashes.

The problem is that XML escapes are handled too early:
latin:keySpec=""" becomes latin:keySpec=""" before it's fed to
an XML parser, causing a syntax error.

https://issuetracker.google.com/issues/65090157



Change-Id: I7b52fc62c874075d572a631c75e87caad1d365c0
Signed-off-by: default avatarBernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
parent 8d33c997
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -37,7 +37,7 @@
        </case>
        </case>
        <default>
        <default>
            <Key
            <Key
                latin:keySpec="&quot;"
                latin:keySpec="\&quot;"
                latin:moreKeys="!text/morekeys_double_quote" />
                latin:moreKeys="!text/morekeys_double_quote" />
            <Key
            <Key
                latin:keySpec="\'"
                latin:keySpec="\'"