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

Commit 41d4ea0d authored by Harshit Mahajan's avatar Harshit Mahajan
Browse files

Create isRecoveryTriggeredReboot SystemApi

Unhiding isRecoveryTriggeredReboot from PackageWatchdog

Bug: 361126781
Test: TH
Flag: android.crashrecovery.flags.enable_crashrecovery
Change-Id: Ic9e99eefc38dbf093af879715d6681d0c842f7a2
parent f604fc6a
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1310,7 +1310,6 @@ public class PackageWatchdog {
     * Check if we're currently attempting to reboot during mitigation. This method must return
     * true if triggered reboot early during a boot loop, since the device will not be fully booted
     * at this time.
     * @hide
     */
    public static boolean isRecoveryTriggeredReboot() {
        return isFactoryResetPropertySet() || isRebootPropertySet();