summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Evan Rosky <erosky@google.com> 2022-10-13 05:43:50 +0000
committer Evan Rosky <erosky@google.com> 2022-10-13 06:00:56 +0000
commitac703fb9e987d7e6247ebfca35fb37fdda574a50 (patch)
tree3f015c13e9e90f60b8cb29027f5a97ade88f804b /libs/androidfw/StringPool.cpp
parent7e64429d94a480a845b4c01cc192b03ae3b43e97 (diff)
Fix some test-specific bubbles issues
First, the tapl test infra seems to launch bubble activities in a different way from normal chat-app usage. The result is that the activity doesn't become visible immediately (instead waiting for onAttach). Because the activity-start is initiated by WCT, it is expected to be ready after evaluating the WCT. To fix this, just make sure that the shortcut-launch records the EFFECTS_LIFECYCLE property so that WOC recalculates the visibility during the transaction. Secondly, the test infra seems to kill/restart sysui/shell on every test, so it was regularly hitting binderdeath handler. That handler was cleaning up playing transitions but not the collecting one which caused the new shell instance to receive onTransitionReady for a transition started with the old shell instance. To fix this, just clean-up the collectingTransition if one exists. Bug: 253271977 Test: atest PlatformScenarioTests:android.platform.test.scenario.sysui.bubble Change-Id: I73f6bdf8c126cf212d9287222898fbe060c4022d
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions