summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Michael Mikhail <michaelmikhil@google.com> 2023-09-22 18:44:21 +0000
committer Michael Mikhail <michaelmikhil@google.com> 2023-09-25 19:33:17 +0000
commit47b5e410f7d17751e6f5331f3f0cf15c98a99d49 (patch)
tree8fc531d77cc89bf9df6d652ac8596cf30530ec23 /libs/androidfw/FileStream.cpp
parent2c24ddf153f6df9f130bc909eacd2dc308b32fed (diff)
Fix media carousel activities in RTL
This CL fixes the change in reordering, players visibility, and media scroll handler issues in RTL. On reordering all players, the visible player should be the rightmost player. On playing a UMO View, onLayout method is called. It adjust the scroll value in RTL when the view is not laid out. Therefore, we need to set the scroll value to the relative value. On removing a player, we need to make sure the scroll view changes the scroll value if we are on the rightmost player in media carousel. Bug: 289174065 Bug: 287168003 Test: Manually checked the media carousel using 3 different umos at the same time. Test: atest MediaCarouselScrollHandlerTest. Change-Id: I80a32eab50d3b75cf3e617d7c8e8d961b2eb6b8a
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions