Merge "Fixing NPE when animating bounds."
This commit is contained in:
@@ -64,6 +64,9 @@ public class PinnedStackWindowController extends StackWindowController {
|
||||
mContainer.getBounds(originalBounds);
|
||||
mContainer.setAnimatingBounds(toBounds);
|
||||
UiThread.getHandler().post(() -> {
|
||||
if (mContainer == null) {
|
||||
return;
|
||||
}
|
||||
mService.mBoundsAnimationController.animateBounds(mContainer, originalBounds,
|
||||
toBounds, animationDuration, moveToFullscreen);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user