Merge "Fix crash in mainline" am: 3a0d51f6b7 am: 6c5944f899 am: 9cd7fdc882

am: 06bd0c427f

Change-Id: I689671afb25643d2e36e65e13374dd69051341b2
gugelfrei
Paul Lawrence 5 years ago committed by android-build-merger
commit 0f3c17b50f

@ -263,6 +263,11 @@ bool cp_needsRollback() {
}
bool cp_needsCheckpoint() {
// Make sure we only return true during boot. See b/138952436 for discussion
static bool called_once = false;
if (called_once) return isCheckpointing;
called_once = true;
bool ret;
std::string content;
sp<IBootControl> module = IBootControl::getService();

Loading…
Cancel
Save