Merge "Fix latching of final buffer when moving off-screen and destroying" into sc-dev am: 2bd3639d16

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

Change-Id: I57514938bfd458cff0cd84f818cafe5b620da274