Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.IllegalStateException: Surface has already been released #11

Open
adeldolgov opened this issue Feb 25, 2020 · 3 comments
Open

Comments

@adeldolgov
Copy link

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

@adeldolgov
Copy link
Author

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
Copy link
Author

adeldolgov commented Feb 28, 2020

  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.

@fidelisakilan
Copy link

did u fix this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants