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

This commit is contained in:
Nick Kralevich
2014-02-12 23:09:37 +00:00
committed by Gerrit Code Review

View File

@@ -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);
}