diff options
| author | 2022-08-30 16:17:24 +0800 | |
|---|---|---|
| committer | 2022-08-31 11:37:17 +0800 | |
| commit | f1bf8d6d9d992d5f847630b7929e415c6df9de5c (patch) | |
| tree | 31a83b99491df794b5c46d71d264ba58e7f8948b /api/api.go | |
| parent | 907c1ad88d65af7550a255c6ba9ebc8321acb5a5 (diff) | |
Update TaskFragmentToken for Activity relaunch
Before, we store the TaskFragmentToken in ActivityClientRecord from
LaunchActivityItem, which won't update if the Activity is relaunched.
Now, we update the token when the activity is reparented to make sure
the token is up-to-date when relaunched.
Also make sure that when activity is destroyed, it is no longer
available using SplitController#getContainerWithActivity(Activity).
Bug: 243330085
Test: atest WMJetpackUnitTests:TaskFragmentContainerTest
Change-Id: I37f1a442c6f1bfb40f04f61eb4f9a3d8d09733ee
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions