Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 139146a3 authored by Melody Hsu's avatar Melody Hsu
Browse files

Fix divide by 0 for calculating vsyncs in buffer stuffing recovery

Arithmetic error when calculating number of vsyncs that have occurred
since last callback. Default number of vsyncs passed should be 0
whenever mLastFrameIntervalNanos is an invalid divisor.

Change-Id: I2e357b1cad9cd98c6bd7143100a7892c64a0bcbe
Fixes: 378981155
Test: presubmit
Flag: EXEMPT bug fix
parent b574b17b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment