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

Commit baea62af authored by Hyeongseop Shim's avatar Hyeongseop Shim Committed by Vishnu Nair
Browse files

Fix bug in insets animation when hw acceleration unavailable



Since 7eb2bed2 'Apply Insets animation when hw acceleration unavailable'
has been applied, apps running without hardware acceleration have been
able to animate without any frame sync for now.

However, unlike the intention, the animation may not be performed
forever. Because the frame number -1 was intended as a very early frame
number that guarantees to show. But native BBQ accepts it as the
maximum frame number which can not be reached permanently for showing.
Because native BBQ takes the value as unsigned long long type (signed
-1 to unsigned maximum).

This change involves the following:
- Fix the misuse of the very early framenumber in
  ViewRootInsetsControllerHost.
- Treats all -ve values as 0 so BBQ doesn't cast it incorrectly.

Bug: 206482421
Signed-off-by: default avatarHyeongseop Shim <hyeongseop.shim@samsung.corp-partner.google.com>
Change-Id: I87faf440fc657c43fd67caa8644ecbc971187d84
parent 2ed83ecd
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