am 54190ec8: Merge "change Surface constructor arg to 64bit"
* commit '54190ec8307ebb83d02b7d9b8edc80a042792de6': change Surface constructor arg to 64bit
This commit is contained in:
@@ -113,7 +113,8 @@ jobject android_view_Surface_createFromIGraphicBufferProducer(JNIEnv* env,
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
jobject surfaceObj = env->NewObject(gSurfaceClassInfo.clazz, gSurfaceClassInfo.ctor, surface.get());
|
jobject surfaceObj = env->NewObject(gSurfaceClassInfo.clazz,
|
||||||
|
gSurfaceClassInfo.ctor, (jlong)surface.get());
|
||||||
if (surfaceObj == NULL) {
|
if (surfaceObj == NULL) {
|
||||||
if (env->ExceptionCheck()) {
|
if (env->ExceptionCheck()) {
|
||||||
ALOGE("Could not create instance of Surface from IGraphicBufferProducer.");
|
ALOGE("Could not create instance of Surface from IGraphicBufferProducer.");
|
||||||
|
|||||||
Reference in New Issue
Block a user