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

Commit df377e94 authored by Michael Mikhail's avatar Michael Mikhail
Browse files

Fix carousel scroll in RTL

In RTL, the scroll amount left for a player when the percentage of the
relative scroll on x-axis is higher that 50% should match with the value
of scroll amount left when percentage of relative scroll on x-axis is
less than or equal 50% in LTR. Xoring the RTL boolean with the relative
scroll condition fixes the issue.

Fixes: 287168003
Fixes: 289174065
Test: Checked UMO in QS and LS, videos attached in bug link.
Test: atest MediaCarouselScrollHandlerTest
Test: atest PlatformScenarioTests:android.platform.test.scenario.sysui.media.QSMediaController
Change-Id: Iab3175cfd344c189d97cf598fd57dadd58d19184
Merged-In: Iab3175cfd344c189d97cf598fd57dadd58d19184
parent 9a0e3f77
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