am d5ea6e11: Merge "Camera1: Rename setPreviewTexture to ...Target for clarity" into klp-dev
* commit 'd5ea6e113cfd573859f0966ae71cdcfd3d5e5f51': Camera1: Rename setPreviewTexture to ...Target for clarity
This commit is contained in:
@@ -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