Merge "Make init.updatable_crashing a read/write property" am: c6a12ee85c

am: a027bee3d7

Change-Id: I247f28ebbd9e9f6a8528142e9ab5f83b4693799e
This commit is contained in:
Nikita Ioffe
2019-10-07 07:35:39 -07:00
committed by android-build-merger

View File

@@ -370,7 +370,7 @@ public final class RollbackPackageHealthObserver implements PackageHealthObserve
private void checkAndMitigateNativeCrashes() {
mNumberOfNativeCrashPollsRemaining--;
// Check if native watchdog reported a crash
if ("1".equals(SystemProperties.get("ro.init.updatable_crashing"))) {
if ("1".equals(SystemProperties.get("sys.init.updatable_crashing"))) {
execute(getModuleMetadataPackage());
// we stop polling after an attempt to execute rollback, regardless of whether the
// attempt succeeds or not