diff options
author | Calin Juravle <calin@google.com> | 2017-01-25 17:16:08 -0800 |
---|---|---|
committer | Calin Juravle <calin@google.com> | 2017-03-02 13:13:12 -0800 |
commit | f7edab63d9358b9a4e0dbec3243f6db9f50a2bbe (patch) | |
tree | eb78e8880812c71c4357f6c45033af3fd6014283 /tools/aapt2/diff/Diff.cpp | |
parent | a57ef163750ca72180092de7e85835d2b8f464bc (diff) |
Add a shell command to force the background dexopt job
Add 'bg-dexopt-job' command to 'adb shell cmd package' which will force
the background dexopt job to run the optimizations immediately.
Note that the command only runs the background optimizer logic. It may
overlap with the actual job but the job scheduler will not be able to
cancel it. It will also run even if the device is not in the idle
maintenance mode.
Test: adb shell cmd package bg-dexopt-job
Bug: 32871170
(cherry picked from commit cb5f41ea11b1a6fcd0977a64ee146dde8f537076)
Change-Id: I82c781d46fe16e7b7566a5b5ee91be723a2125cb
Merged-In: I8b0112074220b2e09baf13d842401ee1cf306a89
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions