mirror of
https://github.com/status-im/react-native.git
synced 2025-02-04 05:34:15 +00:00
Minor fixes in comments
Reviewed By: @mkonicek Differential Revision: D2463595 committer: Service User <svcscm@fb.com>
This commit is contained in:
parent
8f5b2ccbe0
commit
6b733bdcf1
@ -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'
|
||||
|
||||
|
@ -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<android_LogPriority>(level + ANDROID_LOG_VERBOSE),
|
||||
ANDROID_LOG_FATAL);
|
||||
|
Loading…
x
Reference in New Issue
Block a user