Check visibility for TransitionInfo.Change FLAG_FILLS_TASK

Ignore the bounds check if the window is not visible. This is needed for
case like activity launch, which may have an empty bounds when it is
collected.

Bug: 207070762
Test: atest WmTests:TransitionTests
Change-Id: I42394d02262fee9b3d18d90f783ae8beab5760fb
2 files changed