Merge "SurfaceView: Update transform hint only if the view is visible" into sc-dev am: 861ba140a1

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15302836

Change-Id: I48261545315b21c41a5c6802f7870e3a946d88ef