commit | bc9be8e428ceef47a5356ce6a6fc493d1689bfc7 | [log] [tgz] |
---|---|---|
author | Vishnu Nair <vishnun@google.com> | Fri Jul 16 15:51:32 2021 -0700 |
committer | Vishnu Nair <vishnun@google.com> | Mon Jul 19 09:25:08 2021 -0700 |
tree | 5c5bd5b0bd6f68c3f41097fd7454bbb5b873d3e4 | |
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