diff options
author | Vishnu Nair <vishnun@google.com> | 2019-06-11 08:08:25 -0700 |
---|---|---|
committer | Vishnu Nair <vishnun@google.com> | 2019-06-11 08:08:25 -0700 |
commit | d15063bb64b993e4553990ea56dd8d8e90a90deb (patch) | |
tree | a908705a09d9bbee4622aef50ec9722667cc788a /startop/scripts/lib/cmd_utils.py | |
parent | 445d7b38e4fd2cf11cbd2b347e2f7dd8d3fb5ba8 (diff) |
[AML] Check if launched activity has changed when handling visibility changes
The trampoline activity launches a new activity and becomes invisible. AML receives a visibility
changed notification for the trampoline activity and activity launching notification. If the
intent is not resolved, and the activity is not launched before the visibility change is processed,
AML will incorrectly cancel the app transition since it does not know if the app will ever draw on
screen.
This change checks if the launched activity has changed when handling the visibility change
notification.
Bug: 134694123
Test: atest ActivityMetricsLoggerTests
Test: repro steps in bug
Change-Id: I10744323b971ba709afa506e804d458de22c44e5
Diffstat (limited to 'startop/scripts/lib/cmd_utils.py')
0 files changed, 0 insertions, 0 deletions