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

Commit 74ecc15d authored by Guang Zhu's avatar Guang Zhu Committed by Android Git Automerger
Browse files

am 0ca15144: am 9bb76544: fix NPE in shutdown thread

* commit '0ca15144':
  fix NPE in shutdown thread
parents 739b6941 0ca15144
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -238,7 +238,7 @@ public final class ShutdownThread extends Thread {
        // throw up an indeterminate system dialog to indicate radio is
        // shutting down.
        ProgressDialog pd = new ProgressDialog(context);
        if (mRebootReason.equals(PowerManager.REBOOT_RECOVERY)) {
        if (PowerManager.REBOOT_RECOVERY.equals(mRebootReason)) {
            pd.setTitle(context.getText(com.android.internal.R.string.reboot_to_recovery_title));
        } else {
            pd.setTitle(context.getText(com.android.internal.R.string.power_off));