diff options
author | Joanne Chung <joannechung@google.com> | 2021-03-30 22:55:02 +0800 |
---|---|---|
committer | Joanne Chung <joannechung@google.com> | 2021-03-30 22:55:02 +0800 |
commit | 8aef79f2b5dd3c7a126754a369506dda138b7ecf (patch) | |
tree | ce3c129dc7f25d61ee44cf4cbe60438f844fa0e2 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | f3258c35c04114cfd72e8af0d8abd6210c94429b (diff) |
Allow to report finsh/pause state if Activity isn't resume.
Currently, we only report the ui translation state if the Activity is
resumed. But in the real use case, the developer may call
finishTranslation when the Activity moves to background or lock screen
is shown. We should allow the finish/pause state can be updated for
these cases.
Bug: 183980346
Test: manual. Use sample app, press home and call APIs.
Test: atest CtsTranslationTestCases
Change-Id: I4a5cfab9d272e4d5dc23b2f679b4fbeb4a6c9d20
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions