Merge "Camera1: Rename setPreviewTexture to ...Target for clarity" into klp-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
d5ea6e113c
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user