diff options
author | Eino-Ville Talvala <etalvala@google.com> | 2013-08-21 14:39:22 -0700 |
---|---|---|
committer | Eino-Ville Talvala <etalvala@google.com> | 2013-08-21 14:54:19 -0700 |
commit | 7b29779d970deb13c41e4a762df9c16544d83a05 (patch) | |
tree | 1d803faa592e059c60533eb56520d1039081414d | |
parent | 6b223c6a5be788ca28d5d911ab10650be673684b (diff) | |
download | frameworks_base-7b29779d970deb13c41e4a762df9c16544d83a05.zip frameworks_base-7b29779d970deb13c41e4a762df9c16544d83a05.tar.gz frameworks_base-7b29779d970deb13c41e4a762df9c16544d83a05.tar.bz2 |
Camera1: Rename setPreviewTexture to ...Target for clarity
Bug: 10312644
Change-Id: I4bee90428cb932a12d73dad89e91bb2ef492dc86
-rw-r--r-- | core/jni/android_hardware_Camera.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/jni/android_hardware_Camera.cpp b/core/jni/android_hardware_Camera.cpp index 0018dd2..09d8d0f 100644 --- a/core/jni/android_hardware_Camera.cpp +++ b/core/jni/android_hardware_Camera.cpp @@ -553,7 +553,7 @@ static void android_hardware_Camera_setPreviewDisplay(JNIEnv *env, jobject thiz, } } - if (camera->setPreviewTexture(gbp) != NO_ERROR) { + if (camera->setPreviewTarget(gbp) != NO_ERROR) { jniThrowException(env, "java/io/IOException", "setPreviewTexture failed"); } } @@ -576,7 +576,7 @@ static void android_hardware_Camera_setPreviewTexture(JNIEnv *env, } - if (camera->setPreviewTexture(producer) != NO_ERROR) { + if (camera->setPreviewTarget(producer) != NO_ERROR) { jniThrowException(env, "java/io/IOException", "setPreviewTexture failed"); } |