Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a9bb594d authored by Nick Kralevich's avatar Nick Kralevich Committed by Gerrit Code Review
Browse files

Merge "Convert all selinux_android_restorecon and _setfilecon calls to new API."

parents a3c3533b d8fa5860
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -415,7 +415,7 @@ static jboolean native_restorecon(JNIEnv *env, jobject, jstring pathnameStr) {
        return false;
    }

    int ret = selinux_android_restorecon(pathname.c_str());
    int ret = selinux_android_restorecon(pathname.c_str(), 0);
    ALOGV("restorecon(%s) => %d", pathname.c_str(), ret);
    return (ret == 0);
}