summaryrefslogtreecommitdiff
path: root/libs/androidfw/BackupData.cpp
diff options
context:
space:
mode:
author Michael Mikhail <michaelmikhil@google.com> 2023-08-28 15:26:47 +0000
committer Michael Mikhail <michaelmikhil@google.com> 2023-08-31 14:59:18 +0000
commitdf377e947a1b0cf2f6ba78d856e3c6cf10272b51 (patch)
treed05ee2c87b30803570113f7dd66729b7c4b94c78 /libs/androidfw/BackupData.cpp
parent9a0e3f774e3acf07c997cbd2f46d5b92df3b3147 (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