summaryrefslogtreecommitdiff
path: root/libs/hwui/renderthread/DrawFrameTask.cpp
diff options
context:
space:
mode:
authorAhaan Ugale <augale@google.com>2021-04-05 11:30:01 -0700
committerAhaan Ugale <augale@google.com>2021-04-05 11:30:01 -0700
commit8c48915e429fe991ac03109adc926140ebf8e1e9 (patch)
treec4cb6cad190ee0cd1c7fa5b76c73180a46c78534 /libs/hwui/renderthread/DrawFrameTask.cpp
parentde94a02e3188ff261ab38fc51b02d1fe03943f5f (diff)
UiTranslation: Temporary fix for crash due to length increases.
Ellipsizes the translated text if it's longer than the view text. This fixes a crash in apps that operate on the view text based on layout calculations made on the transformed text. A proper fix will follow to modify the UiTranslationManger API to make this compat behavior happen only on request, and probably change the behavior to instead add padding to the view text to make it match the translated text length. Bug: 179693024 Test: atest CtsTranslationTestCases Change-Id: I685ae4a9752c817db81f0d736f1d746b2e4a9839
Diffstat (limited to 'libs/hwui/renderthread/DrawFrameTask.cpp')
0 files changed, 0 insertions, 0 deletions