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

Commit 0ca15144 authored by Guang Zhu's avatar Guang Zhu Committed by Android Git Automerger
Browse files

am 9bb76544: fix NPE in shutdown thread

* commit '9bb76544':
  fix NPE in shutdown thread
parents 74f4e4f1 9bb76544
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));