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

Skip to content
Commit 901d13ba authored by Martin Stjernholm's avatar Martin Stjernholm
Browse files

Optionally use ART Service for optimizing packages.

It is only used when the system property dalvik.vm.useartservice is
true and the requested options are supported.

Test: adb root
      adb shell cmd package force-dex-opt com.google.android.dialer
  with dalvik.vm.useartservice=true and
  DexoptOptions.DEXOPT_INSTALL_WITH_DEX_METADATA_FILE added to the
  flags in DexOptHelper.forceDexOpt. Check that artd calls dex2oat and
  that /data/dalvik-cache/x86_64/*@classes.dex are created and used
  with:
      adb shell am start -S -W -c android.intent.category.LAUNCHER \
        -a android.intent.action.MAIN com.google.android.dialer
      adb shell cat '/proc/`pidof com.google.android.dialer`/maps' \
        | grep classes.dex
Bug: 251903639
Change-Id: Iea2fd2d1cb5d77e725f51c00211d7df43826700a
parent 280ea1af
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment