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

Commit c3715451 authored by ramindani's avatar ramindani Committed by Ram Indani
Browse files

SF: Cast values to double before taking ceil

Division otherwise converts the value to int and we lose the information.
Bug: 420803497
Flag: com.android.graphics.surfaceflinger.flags.vsync_predictor_rate_change_with_aligned_sequence
Test: atest VSyncPredictorTest
Change-Id: Ie21c0add86891743a18bbf5125b92b96d1cdf402
parent d1b0cbd7
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