Merge "Avoid destroying TextureView surfaces for onStop" into nyc-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
eaa6d6b2c9
@@ -355,17 +355,6 @@ public class TextureView extends View {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @hide
|
||||
*/
|
||||
@Override
|
||||
protected void destroyHardwareResources() {
|
||||
super.destroyHardwareResources();
|
||||
destroySurface();
|
||||
invalidateParentCaches();
|
||||
invalidate(true);
|
||||
}
|
||||
|
||||
HardwareLayer getHardwareLayer() {
|
||||
if (mLayer == null) {
|
||||
if (mAttachInfo == null || mAttachInfo.mHardwareRenderer == null) {
|
||||
|
||||
Reference in New Issue
Block a user