Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 568f5d03 authored by Yorke Lee's avatar Yorke Lee
Browse files

Fix crash when rotating video fragment

Due to a recent framework change,
https://googleplex-android-review.git.corp.google.com/#/c/659363/

TextureView will now crash if setSurfaceTexture is called before
the TextureView is attached to the window. Use an
OnAttachStateListener to call setSurfaceTexture only after the view
is attached to the window.

Change-Id: Ic61302fb81461a00ae9e61352a1798d6c8b61318
parent 98c3b098
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment