diff --git a/native/jni/core/bootstages.cpp b/native/jni/core/bootstages.cpp index 25a20d859..20bc43969 100644 --- a/native/jni/core/bootstages.cpp +++ b/native/jni/core/bootstages.cpp @@ -188,7 +188,7 @@ static bool check_data() { return false; auto crypto = getprop("ro.crypto.state"); if (!crypto.empty()) { - if (crypto == "unencrypted") { + if (crypto != "encrypted") { // Unencrypted, we can directly access data return true; } else {