Fix task resizing metrics since they were getting stale task bounds and
on snapping, the resizing ended log is not captured since the tiling
flag is enabled.

Fixes: 379625387
Test: atest DesktopModeEventLogger
Flag: com.android.window.flags.enable_resizing_metrics
Change-Id: Iee9612ed9a853c5c6873fbcb0a2e783b0872f667
7 files changed