diff --git a/ReactAndroid/build.gradle b/ReactAndroid/build.gradle index 759a7b446..dda86ab16 100644 --- a/ReactAndroid/build.gradle +++ b/ReactAndroid/build.gradle @@ -10,8 +10,8 @@ import org.apache.tools.ant.taskdefs.condition.Os import org.apache.tools.ant.filters.ReplaceTokens // We download various C++ open-source dependencies into downloads. -// We then copy both downloaded code and our custom makefiles and headers into third-party-ndk -// After that we build native code from src/main/jni with module path pointing at third-party-ndk +// We then copy both the downloaded code and our custom makefiles and headers into third-party-ndk. +// After that we build native code from src/main/jni with module path pointing at third-party-ndk. def downloadsDir = new File("$buildDir/downloads") def thirdPartyNdkDir = new File("$buildDir/third-party-ndk") @@ -243,4 +243,3 @@ dependencies { } apply from: 'release.gradle' - diff --git a/ReactAndroid/src/main/jni/react/JSCExecutor.cpp b/ReactAndroid/src/main/jni/react/JSCExecutor.cpp index 14dae182d..583e0fe92 100644 --- a/ReactAndroid/src/main/jni/react/JSCExecutor.cpp +++ b/ReactAndroid/src/main/jni/react/JSCExecutor.cpp @@ -137,8 +137,8 @@ static JSValueRef nativeLoggingHook( android_LogPriority logLevel = ANDROID_LOG_DEBUG; if (argumentCount > 1) { int level = (int) JSValueToNumber(ctx, arguments[1], NULL); - // The lowest log level we get from JS is 0. We shift and cap it to be - // in the range Android logging method expects. + // The lowest log level we get from JS is 0. We shift and cap it to be + // in the range the Android logging method expects. logLevel = std::min( static_cast(level + ANDROID_LOG_VERBOSE), ANDROID_LOG_FATAL);