diff options
author | Yorke Lee <yorkelee@google.com> | 2015-04-01 14:08:42 -0700 |
---|---|---|
committer | Yorke Lee <yorkelee@google.com> | 2015-04-01 14:08:42 -0700 |
commit | 568f5d0395721643cda6c68cb30a05d9002faf23 (patch) | |
tree | 4a1bddca8ff8bc95eff4b2916306d12745e46c2c /InCallUI/tests | |
parent | 98c3b09822844ce61685f794da36c74490a7046c (diff) |
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
Diffstat (limited to 'InCallUI/tests')
0 files changed, 0 insertions, 0 deletions