OSDN Git Service

Otapreopt: Check dexopt return status before retry
authorAndreas Gampe <agampe@google.com>
Tue, 21 Mar 2017 01:42:49 +0000 (18:42 -0700)
committerAndreas Gampe <agampe@google.com>
Tue, 21 Mar 2017 01:42:49 +0000 (18:42 -0700)
commit2c925927ee7524086965be324e614c9041126085
treecdf18514963c38bb4e10a18db4f5ad7a6797defa
parent013f02e58b0b17b5b9fb4b4a2b3dc482eecfc434
Otapreopt: Check dexopt return status before retry

Only retry compilation (triggering a wipe and boot image regeneration)
when dex2oat failed in runtime creation.

Bug: 36336122
Test: m
Test: Device boots
Test: Can install apps
Test: Can run A/B OTA
Change-Id: I1a2ae3a871a926002980acd8b7fa777fe8f7d739
cmds/installd/Android.mk
cmds/installd/otapreopt.cpp