diff options
| author | 2023-09-21 02:41:05 +0000 | |
|---|---|---|
| committer | 2023-09-21 04:42:36 +0000 | |
| commit | e3582ce4322f0d6292df7e7eb058ad25cc5f330c (patch) | |
| tree | 77880b6c4037171d84d270fbf398a8f415dc116f /api/api.go | |
| parent | 45eda46e3b78d1019bc0f4a24655fff8872cdc30 (diff) | |
Fixes the regression that the resumed activity not paused beforehand
The resumed activity of the same TaskFragmnet is not paused before
resuming the next activity. This is a regression from commit 7943b5c.
This CL fixes the issue by restoring the original implementation and
also adding `andResume` check to ensure this is happening only if the
activity restarting is going to be started to resumed state.
Bug: 300019674
Test: atest PinActivityStackTests
Change-Id: I6b3e61ba63680fc47b152f5564392a21da3e803d
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions