Fixed
Status Update
Comments
lo...@gmail.com <lo...@gmail.com> #2
Since this is happening in Tink, rather than in the AndroidX library, it would be best to open an
ma...@google.com <ma...@google.com>
ap...@google.com <ap...@google.com> #3
na...@google.com <na...@google.com> #4
Tink is the library that does the heavy lifting in Jetpack Security.
And yes, potentially raising that issue with the Tink team directly could help.
Description
Component used: Jetpack macrobenchmark Version used: 1.4.0-alpha07 Devices/Android versions reproduced on: Pixel 4 XL Android 14 aosp
Sometimes there are resynced frames when frame is prepared for too long: "Choreographer#doFrame - resynced to 8643135 in 21,7ms" and there is logic added here to filter these out in FrameTimingQuery:
But there's a check later that checks if all slices have frameId:
Frame id is number that comes after "Choreographer#doFrame" And it checks for frameId in unfiltered slices where
Choreographer#doFrame - resynced to 8643135 in 21,7ms
is present. It tries to convert"-"
to id, fails to do so and returns null.It results in test failing because of that check.
Should be easy fix - just filter first and check for frameIds presence in filtered traces