Hi,
I developed a native process that uses ScreenshotClient to capture the device screen ( rooted devices only )
I have a loop where ScreenshotClient does update() every cycle. everything works well until 4.3.
when I run it on 4.3 the first call to update succeeds, but in the second call the call result is -2 , and I get these erros in logcat:
E/BufferQueue( 8166): [ScreenshotClient] connect: already connected (cur=1,req=1)
E/libEGL ( 2463): EGLNativeWindowType 0x4116d5f8 already connected to another API
E/libEGL ( 2463): eglCreateWindowSurface:376 error 300b (EGL_BAD_NATIVE_WINDOW)
E/SurfaceFlinger( 2463): captureScreenImplLocked: eglCreateWindowSurface() failed 0x300b
Any idea what changed in 4.3 that causes this, or what these errors mean.
I developed a native process that uses ScreenshotClient to capture the device screen ( rooted devices only )
I have a loop where ScreenshotClient does update() every cycle. everything works well until 4.3.
when I run it on 4.3 the first call to update succeeds, but in the second call the call result is -2 , and I get these erros in logcat:
E/BufferQueue( 8166): [ScreenshotClient] connect: already connected (cur=1,req=1)
E/libEGL ( 2463): EGLNativeWindowType 0x4116d5f8 already connected to another API
E/libEGL ( 2463): eglCreateWindowSurface:376 error 300b (EGL_BAD_NATIVE_WINDOW)
E/SurfaceFlinger( 2463): captureScreenImplLocked: eglCreateWindowSurface() failed 0x300b
Any idea what changed in 4.3 that causes this, or what these errors mean.