From 0d72a4c8ba86245889d86732e91e26358b2ffcba Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Mon, 18 May 2020 04:56:29 -0700 Subject: [PATCH] Fix compile error --- native/jni/magiskhide/hide_policy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/native/jni/magiskhide/hide_policy.cpp b/native/jni/magiskhide/hide_policy.cpp index 8c7338766..088724f1e 100644 --- a/native/jni/magiskhide/hide_policy.cpp +++ b/native/jni/magiskhide/hide_policy.cpp @@ -56,7 +56,7 @@ void hide_sensitive_props() { setprop("ro.boot.hwcountry", "GLOBAL", false); auto selinux = getprop("ro.build.selinux"); - if (!selinux.empty) + if (!selinux.empty()) delprop("ro.build.selinux"); }