diff options
author | Vishnu Nair <vishnun@google.com> | 2019-01-28 09:49:51 -0800 |
---|---|---|
committer | Vishnu Nair <vishnun@google.com> | 2019-01-28 09:49:51 -0800 |
commit | b1de42de9fefc0ca81ce89da4468ec0e77dcc3ec (patch) | |
tree | 26e58c283356eb6bc43e2947555e9a14b2839252 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | 9a6f30ee6d9d27995e1f19004e0264e21dcf5a2c (diff) |
AML: Handle NoDisplayActivities correctly
There is a race when trying to determine if the launching activity is a trampoline activity or if
its a NoDisplay activity that will never draw on screen.
If the activity becomes invisible, its visible state in ActivityRecord may not change to invisible
before the activity finishes. This is a quick fix to also check if ActivityRecord is finishing to
determine if the activity is no longer visible.
Bug: 80380150
Test: atest CtsActivityManagerDeviceTestCases:ActivityMetricsLoggerTests
Change-Id: I55251f03db7390d6a3465eff851c4635680a2e07
(cherry picked from commit 6397dd1c922697b4cf09dd23124f67d0578328b4)
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions