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

Commit 8737d4ba authored by Jiakai Zhang's avatar Jiakai Zhang
Browse files

Set `dalvik.vm.disable-art-service-dexopt=true` on eng build.

We can't set all the `pm.dexopt.*` properties to `skip` because there
are product configs that have set those properties and therefore
conflict with our settings.

Bug: 313505540
Test: (on internal main) -
  1. `lunch` an eng build of an internal Go device.
  2. m
Change-Id: Ia3306d0c5d721e84b5cd5ab019302bb644f6de72
parent 53084d3f
Loading
Loading
Loading
Loading
+2 −17
Original line number Diff line number Diff line
@@ -134,23 +134,8 @@ endif
# This option is for faster iteration during development and should never be enabled for production.
ifneq (,$(filter true,$(OVERRIDE_DISABLE_DEXOPT_ALL)))
  PRODUCT_SYSTEM_PROPERTIES += \
    pm.dexopt.post-boot=skip \
    pm.dexopt.first-boot=skip \
    pm.dexopt.boot-after-ota=skip \
    pm.dexopt.boot-after-mainline-update=skip \
    pm.dexopt.install=skip \
    pm.dexopt.install-fast=skip \
    pm.dexopt.install-bulk=skip \
    pm.dexopt.install-bulk-secondary=skip \
    pm.dexopt.install-bulk-downgraded=skip \
    pm.dexopt.install-bulk-secondary-downgraded=skip \
    pm.dexopt.bg-dexopt=skip \
    pm.dexopt.ab-ota=skip \
    pm.dexopt.inactive=skip \
    pm.dexopt.cmdline=skip \
    pm.dexopt.shared=skip

  PRODUCT_SYSTEM_PROPERTIES += dalvik.vm.disable-odrefresh=true
    dalvik.vm.disable-art-service-dexopt=true \
    dalvik.vm.disable-odrefresh=true

  # Disable all dexpreopt activities except for the ART boot image.
  # We have to dexpreopt the ART boot image because they are used by ART tests. This should not