Blur-LIB-Android icon indicating copy to clipboard operation
Blur-LIB-Android copied to clipboard

java.lang.IllegalStateException: Surface has already been released

Open adeldolgov opened this issue 5 years ago • 3 comments

This happens when i just go to another activity and then goes back.

adeldolgov avatar Feb 25 '20 15:02 adeldolgov

java.lang.IllegalStateException: Surface has already been released. at android.view.Surface.checkNotReleasedLocked(Surface.java:568) at android.view.Surface.lockHardwareCanvas(Surface.java:382) at no.danielzeller.blurbehindlib.opengl.ViewSurfaceTexture.beginDraw(ViewSurfaceTexture.kt:48) at no.danielzeller.blurbehindlib.BlurBehindLayout.renderBehindViewToTexture(BlurBehindLayout.kt:240) at no.danielzeller.blurbehindlib.BlurBehindLayout.redrawBlurTexture(BlurBehindLayout.kt:216) at no.danielzeller.blurbehindlib.BlurBehindLayout.access$redrawBlurTexture(BlurBehindLayout.kt:25) at no.danielzeller.blurbehindlib.BlurBehindLayout$frameCallBack$1.doFrame(BlurBehindLayout.kt:234)

adeldolgov avatar Feb 28 '20 19:02 adeldolgov

  1. I have fragment with Google Map
  2. Fragment container is setted as blurbehindview
  3. If i scroll map, then go to another activity, then go back, i got that error.

adeldolgov avatar Feb 28 '20 19:02 adeldolgov

did u fix this issue?

fidelisakilan avatar Aug 09 '21 06:08 fidelisakilan