Fix the logic of adding skipped frame.

Bug: n/a
Test: FrameTimelineTest
Change-Id: I21d51d76229701f1fe66982488b5eefedeb02c0c
2 files changed