Reduce unnecessary redraw for non blast sync

For example, when resuming an existing activity from background:
1. The snapshot starting window is added to the next top activity.
2. The previous activity is paused and then the next top activity
   is collected, so the starting window is SYNC_STATE_WAITING_FOR_DRAW.
   Then shouldSendRedrawForSync() returns true so request redraw.
3. Starting window reports finish draw from 1.
4. Additional finish draw from 2.

By making mRedrawForSyncReported default true, unless
requestRedrawForSync is called explicitly, the window won't be
requested to redraw just because of its sync state.

Bug: 260059642
Test: Enable shell transition.
      adb shell wm logging enable-text WM_DEBUG_RESIZE
      Hot launch app from launcher.
      Log should not show "Resizing window" for SnapshotStartingWindow
Change-Id: Icbc9c7ec024595395b78136007895608ba52acb0
2 files changed