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

Commit 983d449a authored by Tao Bao's avatar Tao Bao
Browse files

Fix the NPE when checking mRebootReason

Bug: 21584198
Change-Id: Ie11092dbc771b54bd049d258dc705835a3eda494
parent f3edbb55
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -408,7 +408,7 @@ public final class ShutdownThread extends Thread {
        }

        // If it's to reboot into recovery, invoke uncrypt via init service.
        if (mRebootReason.equals(PowerManager.REBOOT_RECOVERY)) {
        if (PowerManager.REBOOT_RECOVERY.equals(mRebootReason)) {
            uncrypt();
        }