OSDN Git Service

DEXOPT_FORCE may be passed for primary apk as well.
authorCalin Juravle <calin@google.com>
Tue, 31 Jan 2017 21:53:00 +0000 (13:53 -0800)
committerCalin Juravle <calin@google.com>
Thu, 2 Mar 2017 21:08:32 +0000 (13:08 -0800)
commit2ab108c5be96768ef094591720596fbc4b7f91f7
tree1d178056dea987227ea56441625740fae23ffe82
parentc9eab382fa4d71ade0077e0547969a47f39ecf05
DEXOPT_FORCE may be passed for primary apk as well.

Remove the check that DEXOPT_FORCE is not set for primary apks. PM will
set it when forcing compilation.

Bug: 32871170
Test: adb shell cmd package compile -f m speed pkgname

(cherry picked from commit 259702336f5826d2a205a2b038cb5a3263fb10e9)

Change-Id: Id34cd1ec929a1e196caf61651a18eb9c275b2590

Merged-In: I690608c48a2c486230ca7d2328ac5c6181427328
cmds/installd/dexopt.cpp