diff options
| -rw-r--r-- | services/core/java/com/android/server/power/ShutdownThread.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/power/ShutdownThread.java b/services/core/java/com/android/server/power/ShutdownThread.java index 85dd9d4..e5981fb 100644 --- a/services/core/java/com/android/server/power/ShutdownThread.java +++ b/services/core/java/com/android/server/power/ShutdownThread.java @@ -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)); |
