Minimum 1 frame timeline in java Choreographer

Sometimes the data from native gives an empty VsyncEventData (perhaps
erroneously), causing out-of-bound crashes in java Choreographer side.
Instead, the public FrameData should maintain at least 1 frame timeline
which will have the default data when accessed.

Bug: 290965823
Test: atest ChoreographerTest
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:8d65862b049b292ed6de6d288fd9f66cae47c16e)
Merged-In: I8b704433aca55bc9697fd843257ac62995e75a1f
Change-Id: I8b704433aca55bc9697fd843257ac62995e75a1f
Cherry pick to qpr
Bug: 295102779
1 file changed