summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Vaibhav Devmurari <vdevmurari@google.com> 2023-03-16 15:08:23 +0000
committer Vaibhav Devmurari <vdevmurari@google.com> 2023-03-23 12:24:47 +0000
commit9c3a0b7918a0429b50e2124251a71e1bb48d82bd (patch)
tree92afb874d0b33155c21fa941d065b0ea996ad951 /libs/input/PointerController.cpp
parent1b485a66ab4372aa0b8c37f1fd1c590c9c01c180 (diff)
Modify Script matching algorithm
First manually match script code based on provided scripts in the language tag before using UScript to derive script code from tag and matching that. Corner case: Uscript.getCode() hard codes script for "ja..." tags to Japenese, Hirangana and Han scripts even if we provide explicit "Latn" in the language tag. IME can explicitly say "Latn" in language tag to allow any KCMs with Latn support and handle composition to Japense on IME side. So, if explicitly mentioned we should respect the script code provided. Test: atest KeyboardLayoutManagerTests Bug: 272200660 Change-Id: Ic0ffd3aa57d83b7fd8c1fb66ec12581f90c1deaf
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions