diff options
author | Vishnu Nair <vishnun@google.com> | 2021-07-16 15:51:32 -0700 |
---|---|---|
committer | Vishnu Nair <vishnun@google.com> | 2021-07-19 09:25:08 -0700 |
commit | bc9be8e428ceef47a5356ce6a6fc493d1689bfc7 (patch) | |
tree | 5c5bd5b0bd6f68c3f41097fd7454bbb5b873d3e4 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | e684a19bbb4981fd4b0e12a185bd35936a7e6e47 (diff) |
SurfaceView: Update transform hint only if the view is visible
Transform hint should only be updated when creating the
surface or the view is visible. If the view is not visible, BBQ
will be null. This fixes a NPE in SurfaceView.
Test: go/wm-smoke
Fixes: 193618182
Change-Id: I98a463ae23a93d89ac803e2c2d80ecfd56ca97d2
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions