am da3f63ff: Merge "Fix the NPE when checking mRebootReason" into mnc-dev
* commit 'da3f63ffb87397943546a7c5c893ce98f2489df2': Fix the NPE when checking mRebootReason
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