summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2012-01-06 19:10:09 +0000
committerSteve Block <steveblock@google.com>2012-01-06 19:10:09 +0000
commit7f22db82120e7ac17165ab7614e417baa2742623 (patch)
tree2174811021b582816774e59848877009cc6c15be
parent7164d6ac08ab9fc1247aa29f1dafd0ef7808f0f2 (diff)
downloadneven-jb-dev.tar.gz
See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: Iadef2c4279df85b4c49199c928dd29eb578a13b0
-rw-r--r--FaceDetector_jni.cpp6
1 files changed, 3 insertions, 3 deletions
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 @@ detect(JNIEnv *_env, jobject _this,
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 JNI_OnLoad(JavaVM* vm, void* reserved)
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;
}