Merge "Fix the NPE when checking mRebootReason" into mnc-dev
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user