summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorQi Wang <zakwang@google.com>2021-05-21 17:37:00 +0800
committerQi Wang <zakwang@google.com>2021-05-21 17:58:31 +0800
commit2648035bda58b95dfe6c9c01da2c47027aac0f1d (patch)
treee8135c734d45eda0e3433d8ea0df515ee7e1a84a /tools/aapt2/java/JavaClassGenerator_test.cpp
parent1d2868c45b52c68ef28b3a84b13dcc7347461c7f (diff)
Fix a bug in sentence detection when input is too long.
When the unchecked length of the current sentence is too long, the spell checker should check the first MAX_SENTENCE_LGNTH characters of the unchecked part. In this case, detectSentenceBOundary should return [textChangesStart, textChangeStart + MAX_SENTENCE_LENGTH) Fix: 188875278 Test: manual test Change-Id: I31847aed2d564f7bc1ff43c83adae3bb7c99c0d1
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions