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

Skip to content
Commit eeb6051d authored by Ben Murdoch's avatar Ben Murdoch
Browse files

Fix ModifierShortcutManagerTests on AOSP build.

Stub PackageManager.resolveActivity() in the tests to always return
an activity, even if there isn't something installed that could handle
it. This makes the test independent of the state of the device which
may have some typical apps for handling the shortcuts missing.

Fixes: 356277860
Flag: TEST_ONLY
Test: atest WmTests:com.android.server.policy.ModifierShortcutManagerTests
Change-Id: Ie7d41a29f33d4c095f71472327523ddbe2bb7efe
parent ab4779e9
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