mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-25 08: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;
|
return false;
|
||||||
auto crypto = getprop("ro.crypto.state");
|
auto crypto = getprop("ro.crypto.state");
|
||||||
if (!crypto.empty()) {
|
if (!crypto.empty()) {
|
||||||
if (crypto == "unencrypted") {
|
if (crypto != "encrypted") {
|
||||||
// Unencrypted, we can directly access data
|
// Unencrypted, we can directly access data
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user