Skip to content
Commit bc9be8e4 authored by Vishnu Nair's avatar Vishnu Nair
Browse files

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
parent e684a19b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment