Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b139b138 authored by Nikita Ioffe's avatar Nikita Ioffe Committed by android-build-merger
Browse files

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

am: 1c06fe7b

Change-Id: If1db3f7811b96bd7f2b9f38ce9f31a3129249610
parents 70b752f4 1c06fe7b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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