diff options
| author | 2024-05-23 04:24:44 +0000 | |
|---|---|---|
| committer | 2024-05-23 04:51:34 +0000 | |
| commit | 0348b3f273d0d2c8c2ad916494b66885f686366c (patch) | |
| tree | c58c78bbc0899e2dd37405efc30bc35ad53ccf13 /ravenwood/scripts/convert-androidtest.py | |
| parent | 2030d4f8487942dc4f46d6b839dc596fe9354710 (diff) | |
Clear the TF#mPausingActivity before complete finishing the Activity
The Activity state was set to PAUSED when the Activity reported
paused. Since the Activity was also finishing, AR#completeFinishing
was called (and it happened before clear the TF#mPausingActivity).
In that case, the TF#mPausingActivity is incorrectly reset to null
while there was another Activity started pausing in #completeFinishing.
Activity#A paused
-> TF#completePause
-> AR#completeFinishing
… -> resuming Activity B and pausing Activity B
(sets TF#mPausingActivity to B)
-> setPausingActivity to null in TF#completePause
Once the other Activity paused, it was not added to the stopping
list because the Activity was already invisible.
Bug: 339586518
Test: steps on the bug
Change-Id: I978d81eaa380b7c7a3dcfe85dd23dca1f0bef58c
Diffstat (limited to 'ravenwood/scripts/convert-androidtest.py')
0 files changed, 0 insertions, 0 deletions