summaryrefslogtreecommitdiff
path: root/tools/aapt2/ResourceTable.cpp
diff options
context:
space:
mode:
author Ben Murdoch <benm@google.com> 2024-07-31 11:38:00 +0000
committer Ben Murdoch <benm@google.com> 2024-07-31 11:40:19 +0000
commiteeb6051d91ae3c99b9a8f229a5211d02b2172926 (patch)
tree21209c3c360809ba307ef6ef429745a02dd92506 /tools/aapt2/ResourceTable.cpp
parentab4779e9007e392bb11212adf1739d053c0db45d (diff)
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
Diffstat (limited to 'tools/aapt2/ResourceTable.cpp')
0 files changed, 0 insertions, 0 deletions