Fix nativeGetAnimationFrameStats to use the correct times.
Changed the method to use actualPresentTimesNano instead of desiredPresentTimesNano when initializing WindowAnimationFrameStats. The WindowAnimationFrameStats.init(..) method expects the actual presentation times, not the posted times. Additionally, the desiredPresentTimesNano values are all invalid (INT64_MAX) when working with window animation frames. Change-Id: I5e5ce888dac859179ef06e4bbd8bfbd959521dd2
Loading
Please register or sign in to comment