Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE
See https://android-git.corp.google.com/g/#/c/157220
Bug: 5449033
Change-Id: Iadef2c4279df85b4c49199c928dd29eb578a13b0
diff --git a/FaceDetector_jni.cpp b/FaceDetector_jni.cpp
index 03bd908..fd1e7ee 100644
--- a/FaceDetector_jni.cpp
+++ b/FaceDetector_jni.cpp
@@ -244,7 +244,7 @@
if (btk_FaceFinder_putDCR(hfd, hdcr) == btk_STATUS_OK) {
numberOfFaces = btk_FaceFinder_faces(hfd);
} else {
- LOGE("ERROR: Return 0 faces because error exists in btk_FaceFinder_putDCR.\n");
+ ALOGE("ERROR: Return 0 faces because error exists in btk_FaceFinder_putDCR.\n");
}
// release the arrays we're using
@@ -300,13 +300,13 @@
jint result = -1;
if (vm->GetEnv((void**) &env, JNI_VERSION_1_4) != JNI_OK) {
- LOGE("ERROR: GetEnv failed\n");
+ ALOGE("ERROR: GetEnv failed\n");
goto bail;
}
assert(env != NULL);
if (register_android_media_FaceDetector(env) < 0) {
- LOGE("ERROR: MediaPlayer native registration failed\n");
+ ALOGE("ERROR: MediaPlayer native registration failed\n");
goto bail;
}