Merge "Fixing exception when applying transaction while the surface is released" into ub-launcher3-rvc-dev am: 19fc8b6a83

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11348721

Change-Id: Idbb25c38937cb1d37d6b75f2c53e89a5d11475e9