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

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

Change-Id: Id5eada4be69cf8c5597b99a58a811c172ac3db7d