mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-24 20:37:39 +00:00
Correct ro.crypto.state
check
Fix #6042 Co-authored-by: vvb2060 <vvb2060@gmail.com>
This commit is contained in:
parent
d1a35dd2ba
commit
3817167ba1
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user