summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorAhaan Ugale <augale@google.com>2021-06-09 13:53:38 -0700
committerAhaan Ugale <augale@google.com>2021-06-09 13:53:38 -0700
commitf922300a2d5523b12417b3b48ee790c7d13dd2f1 (patch)
tree1fa2f3e12521aff58f7afcbcb6c0eaf7a149bee7 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent33f8e11606708a9724d5daaa486a0a5976e19482 (diff)
Clear the ViewTranslationResponse on finishing UiTranslation.
Stored state should be cleared here. This fixes a bug where the views cannot be re-translated after UiTranslationManager#finishTranslation was called. Some of the state was cleared, so the translations cannot be re-shown. And that state cannot be recreated because we find the same ViewTranslationResponse stored and do not recreate the other state. Fix: 189892928 Test: manual - translate an app, go to the home screen (triggers finish), go back to the app and re-translate Test: atest CtsTranslationTestCases Change-Id: Ic81fbce7ee09eb72352071c8bdd94a2731826009
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions