commit | d298b0f774bf1c8752eb5378507c9e5edc7e5303 | [log] [tgz] |
---|---|---|
author | Rachel Lee <rnlee@google.com> | Tue Aug 22 15:32:55 2023 -0700 |
committer | Cherrypicker Worker <android-build-cherrypicker-worker@google.com> | Tue Aug 29 20:34:15 2023 +0000 |
tree | ce14ebf2822890e8049ab66197a9dc28d06ed664 | |
parent | 3e4bbf4a5960d3038eba1a041aab585a23b4a751 [diff] |
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