Merge "Call finishDrawing and notify when Window is removed or hidden" into rvc-dev am: cae0a5b56a am: ef2f8df010 am: 476e3768fc

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

Change-Id: I7438214c71915071c3b137d7c5fe082f10910794