Merge "jni: switch to ANDROID_LOG_* mode flags"
This commit is contained in:
@@ -159,7 +159,7 @@ static void android_util_EventLog_readEvents(JNIEnv* env, jobject clazz UNUSED,
|
|||||||
}
|
}
|
||||||
|
|
||||||
struct logger_list *logger_list = android_logger_list_open(
|
struct logger_list *logger_list = android_logger_list_open(
|
||||||
LOG_ID_EVENTS, O_RDONLY | O_NONBLOCK, 0, 0);
|
LOG_ID_EVENTS, ANDROID_LOG_RDONLY | ANDROID_LOG_NONBLOCK, 0, 0);
|
||||||
|
|
||||||
if (!logger_list) {
|
if (!logger_list) {
|
||||||
jniThrowIOException(env, errno);
|
jniThrowIOException(env, errno);
|
||||||
|
|||||||
Reference in New Issue
Block a user