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
Loading
Please register or sign in to comment