Trying to use dexpreopt with Runtime Resource Overlays will break:
dex2oatd E 10-03 23:19:50 18417 18417 oat_writer.cc:403] No dex files in zip file '/vendor/overlay/Pixel/PixelThemeOverlay.apk': Entry not found
CopperheadOS plans to enable dexpreopt for vendor again in order to ban
executing dalvikcache_data_file for the base system again and this was
getting in the way.
Could be solved in CopperheadOS by special casing LOCAL_IS_RUNTIME_RESOURCE_OVERLAY but I don't think this should break if it was moved to system with unaltered AOSP so this seems better.
Trying to use dexpreopt with Runtime Resource Overlays will break:
CopperheadOS plans to enable dexpreopt for vendor again in order to ban executing dalvikcache_data_file for the base system again and this was getting in the way.