Fix BootImageLoader to use provided FDs when available
Stop overriding vdex and oat FDs in the chunk. Vdex and oat FDs in the
chunk is now only used when compiled in memory.
When vdex and oat FDs are provided via the runtime argument, they can be
used as an alternative FD source.
Both sources should be provided exclusively.
Bug: 210909223
Test: Apply aosp/1924061, no longer seeing open /system/... by path
Test: atest odsign_e2e_test
Test: atest art_standalone_dex2oat_tests
Test: atest com.android.bootimageprofile.BootImageProfileTest
Change-Id: Ice97386d4b3f9cc1cef2706fce0d0ca23b515a6a
1 file changed