Skip to content
Commit 2e8a8a24 authored by Chris Craik's avatar Chris Craik Committed by John Reck
Browse files

Cherry pick TextureView fixes

The following changes are in this commit:

Avoid destroying TextureView surfaces for onStop

bug:30238922

TextureViews will hold onto their backing surfaces, which will allow
them to resume gracefully when the app's surfaces are saved.

Now only resources that are destroyed for onStop are DisplayLists.

(cherry picked from commit 391d5604)

TextureView: destroy layer on destroyHardwareResources event

bug:30468770

(cherry picked from commit 1c16c37d)

Fix NPE in TextureView

Bug: 30651595

(cherry picked from commit 3c2587f2)

Fix NPE in TextureView

Bug: 30779663

(cherry picked from commit 7e237189)

Fix maps resume being blank

Bug: 30889568

Fixes an issue where mLayer didn't have
the mSurface set on it in certain resume
scenarios.

(cherry picked from commit 03df0834)
parent c8417676
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment