fix(replay): Keep replay recording during animations (#5489)
* fix(android): Keep replay capturing during animations Skip only the first unstable PixelCopy capture, then continue emitting frames while the screen keeps invalidating. This prevents animated screens from freezing Session Replay visuals while preserving the existing debounce for one-off redraws. Fixes GH-5404 Co-Authored-By: Codex <noreply@openai.com> * test(android): Add replay animation sample screens Add separate Android sample screens for Lottie, Compose canvas, and classic View animations so replay capture behavior can be tested manually. Keep the sample app on the Canvas replay screenshot strategy while exercising these animations. Refs GH-5404 Co-Authored-By: Codex <noreply@openai.com> * changelog * fix(android): Make replay animation sample colors API-safe Use ContextCompat.getColor in ReplayAnimationsActivity so release lint passes with the sample app minSdk. Refs GH-5489 Co-Authored-By: Codex <noreply@openai.com> * docs(android): Explain unstable replay captures Document why PixelCopyStrategy caps skipped unstable captures so continuous animations keep producing replay frames. Refs GH-5489 Co-Authored-By: Codex <noreply@openai.com> --------- Co-authored-by: Codex <noreply@openai.com>
R
Roman Zavarnitsyn committed
b0aa73ebff17166a1a13d27e88b2dcdc13adf68c
Parent: 4e3e79d
Committed by GitHub <noreply@github.com>
on 6/2/2026, 9:43:24 PM