diff options
| author | 2023-08-28 15:26:47 +0000 | |
|---|---|---|
| committer | 2023-08-31 14:59:18 +0000 | |
| commit | df377e947a1b0cf2f6ba78d856e3c6cf10272b51 (patch) | |
| tree | d05ee2c87b30803570113f7dd66729b7c4b94c78 /libs/androidfw/BackupData.cpp | |
| parent | 9a0e3f774e3acf07c997cbd2f46d5b92df3b3147 (diff) | |
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
Diffstat (limited to 'libs/androidfw/BackupData.cpp')
0 files changed, 0 insertions, 0 deletions