Fix NPE in TextureView am: 3c2587f26e
am: 8fe31ec0e0

Change-Id: I1f36262f8c09b4d75910bd5b3943b0931f57f477