Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 5977ba07 authored by Yabin Huang's avatar Yabin Huang
Browse files

Fix failed testManageSpacePendingIntentNoBalAllowed for secondary_user_on_secondary_display

When a test runs as the driver (current user),
tradefederation will install the testing apk for both the current
user and system user. But when the test runs as the passenger,
tradefederation will only install the apk for the passenge
(see b/350565912), so testManageSpacePendingIntentNoBalAllowed
will fail when running as passenger.

To fix the test, the CL changed BackgroundActivityStartController
to check whether the apk is installed for the testing user instead
of the system user.

Bug: 351081318
Test: atest CtsWindowManagerBackgroundActivityTestCases
Test: atest --user-type secondary_user CtsWindowManagerBackgroundActivityTestCases
Test: atest --user-type secondary_user_on_secondary_display  CtsWindowManagerBackgroundActivityTestCases
Flag: EXEMPT bugfix
Change-Id: Id10740ab29d454ca26113a74dad5c7a710584096
parent 3c50fc43
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment