summaryrefslogtreecommitdiff
path: root/api/api_test.go
diff options
context:
space:
mode:
author Louis Chang <louischang@google.com> 2024-10-09 00:56:14 +0000
committer Louis Chang <louischang@google.com> 2024-10-13 16:40:16 +0000
commitb9065f0e35f1b81bff02ce220594e5dd52cc9514 (patch)
tree8208ccfcf00dac84fef27a9f92503cf3ecad7417 /api/api_test.go
parenta3bea3e2d78087b81726503bc1dae1f302a03994 (diff)
Fix ActivityEmbedding flicker test flakiness
The AE backstack restoration is now enabled by default for field test. The test application was not following the guideline and was adding the embedding rules after Activity created. Adding more check to abort the restoration as early as possible. The changes includes: - Abort the restoration earlier if the Task is no longer existed in the WM Core. - Also checking if the restoration should be aborted in #postCreated - Start the task root activity only if the Task is empty after the legacy TaskFragments are removed. Bug: 371083896 Bug: 289875940 Test: OpenActivityEmbeddingSecondaryToSplitTest Flag: com.android.window.flags.ae_back_stack_restore Change-Id: Iefebfc6b6e70edddeb0e078429b65b826885daef
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions