Merge "Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF) DO NOT MERGE"
This commit is contained in:
@@ -24,7 +24,7 @@
|
|||||||
static jint
|
static jint
|
||||||
add(JNIEnv *env, jobject thiz, jint a, jint b) {
|
add(JNIEnv *env, jobject thiz, jint a, jint b) {
|
||||||
int result = a + b;
|
int result = a + b;
|
||||||
LOGI("%d + %d = %d", a, b, result);
|
ALOGI("%d + %d = %d", a, b, result);
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -89,7 +89,7 @@ jint JNI_OnLoad(JavaVM* vm, void* reserved)
|
|||||||
jint result = -1;
|
jint result = -1;
|
||||||
JNIEnv* env = NULL;
|
JNIEnv* env = NULL;
|
||||||
|
|
||||||
LOGI("JNI_OnLoad");
|
ALOGI("JNI_OnLoad");
|
||||||
|
|
||||||
if (vm->GetEnv(&uenv.venv, JNI_VERSION_1_4) != JNI_OK) {
|
if (vm->GetEnv(&uenv.venv, JNI_VERSION_1_4) != JNI_OK) {
|
||||||
LOGE("ERROR: GetEnv failed");
|
LOGE("ERROR: GetEnv failed");
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
|
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
# include <cutils/log.h>
|
# include <cutils/log.h>
|
||||||
# define DD(...) LOGI(__VA_ARGS__)
|
# define DD(...) ALOGI(__VA_ARGS__)
|
||||||
#else
|
#else
|
||||||
# define DD(...) ((void)0)
|
# define DD(...) ((void)0)
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user