Video for after and before this patch: [videos.zip](https://github.com/flutter/engine/files/11231756/videos.zip) - https://github.com/flutter/flutter/issues/120555 The technical problem is: if setViewportMetrics called **before** framework's vsync process callback (rebuild & layout & paint), will cause jitter keyboard animation.So this PR is to keep the time when updateViewportMetrics call to framework side legal. ### Before  ### After 