diff options
author | Joanne Chung <joannechung@google.com> | 2021-09-08 21:05:49 +0800 |
---|---|---|
committer | Joanne Chung <joannechung@google.com> | 2021-09-08 14:15:41 +0000 |
commit | 5f68630b151882d887498625d500fc518e2c18da (patch) | |
tree | 9d63a3560093a980999f4f494cdb83123481cc40 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | caa65e4a70dd6b6a153081d69663d29d4cd5088b (diff) |
Allow translation should also work on non-resume state
Currently, we only allow translation for the resumed Activity. It
works fine for full screen Activity. On foldable devices, we may
have two Activity in the same time. It is possible one Activity is
on the paused state but there is still new incoming message, we
should also allow the message can be translated.
Bug: 199264898
Test: atest CtsTranslationTestCases
Test: manual. Use one Activity targetsdk prior to Q then receiving
broadcast to start Ui translation on paused state in split mode.
Change-Id: I6720b41d9995c9ced2e3b2b87eb95540101d15a0
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions