Merge "Fix the NPE when checking mRebootReason" into mnc-dev

This commit is contained in:
Tao Bao
2015-06-02 19:17:52 +00:00
committed by Android (Google) Code Review

View File

@@ -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();
}