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

Commit 5c78fe90 authored by Spandan Das's avatar Spandan Das
Browse files

Handle prebuilt module types in allInstalledModules

Owner in PackagingSpec uses ModuleName, while allInstalledModules uses
mod.Name(). For prebuilt modules without any sources (e.g.
com.android.apex.cts.shim.v1_prebuilt), the former does not contain
prebuilt_, but the latter does contain it. This was causing such modules
to be skipped in the results of allInstalledModules.

This CL fixes it by using ctx.OtherModuleName

Test: verified that com.android.apex.cts.shim.v1_prebuilt is returned by
allInstalledModules of aosp_cf_x86_64_phone

Change-Id: Id87e8cf782a94c48245385c1837960eee803c619
parent df9e934c
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