summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorRobert Carr <racarr@google.com>2020-06-16 11:47:07 -0700
committerRobert Carr <racarr@google.com>2020-06-16 11:47:07 -0700
commitc34aea875a9b868c0654e294a3256cdb051e2d8f (patch)
tree23526cc42dc5a31af26fee989888a8482fc31fd2 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent55c4e431698375b49f46ae499b8872a4b0d570a7 (diff)
SurfaceView: Check ViewRootImpl non-null
This call to updateRelativeZ may be triggered from the RT frame callback which may be triggered after we are detached from the Window and in that case will be null. If we are detached we are also going invisible so there is no need to set a relativeZ. Bug: 158706756 Test: Existing tests pass Change-Id: I46aa824807b7b275e6a015c428fe7467a72ca949
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions