diff options
author | 2020-10-21 13:20:55 +0100 | |
---|---|---|
committer | 2020-10-27 17:05:30 +0000 | |
commit | 46b3d5bd0504388a946f91565a2116b8d9980a17 (patch) | |
tree | d4eee2a28fb27fb401e773f607c55e0e20d61a25 /scripts/construct_context.py | |
parent | 24813e1d8070d46817f69a5246a49784df45d2c8 (diff) |
Fix handling of "android.test.mock" in class loader context.
Mimick the way PackageManager handles it at runtime: do add it to class
loader context for apps with targetSdkVersion < 30, but only if
"android.test.runner" is used. Previously it was not added at all.
Test: lunch aosp_cf_x86_phone-userdebug && m
Bug: 132357300
Change-Id: I4c06635277ab13e21069b9fa0b46eb6a2547dfdd
Diffstat (limited to 'scripts/construct_context.py')
0 files changed, 0 insertions, 0 deletions