diff --git a/native/jni/magiskhide/hide_utils.cpp b/native/jni/magiskhide/hide_utils.cpp index d36b5f142..3661f99dc 100644 --- a/native/jni/magiskhide/hide_utils.cpp +++ b/native/jni/magiskhide/hide_utils.cpp @@ -153,7 +153,7 @@ static int add_pkg_uid(const char *pkg) { struct stat st; const char *data = SDK_INT >= 24 ? "/data/user_de/0" : "/data/data"; sprintf(path, "%s/%s", data, pkg); - if (xstat(path, &st) == 0) { + if (stat(path, &st) == 0) { hide_uid.insert(st.st_uid); return st.st_uid; }