am edb03c7d: am 4f2d02fb: am 20b5fd98: am 93994e9d: am a9bb594d: Merge "Convert all selinux_android_restorecon and _setfilecon calls to new API."
* commit 'edb03c7d6dff4150a93ac37f5ec28bf9a1387d61': Convert all selinux_android_restorecon and _setfilecon calls to new API.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user