mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-03 01:16:49 +00:00
Fix translation for secondary split thumbnail in RTL
Fix: 225157531 Test: Swipe up in RTL shows both thumbnails were expected. Change-Id: I87d286b6ce6542c7cffadf86e3d4d99a3618f984
This commit is contained in:
@@ -454,8 +454,8 @@ public class LandscapePagedViewHandler implements PagedOrientationHandler {
|
||||
|
||||
@Override
|
||||
public void measureGroupedTaskViewThumbnailBounds(View primarySnapshot, View secondarySnapshot,
|
||||
int parentWidth, int parentHeight,
|
||||
StagedSplitBounds splitBoundsConfig, DeviceProfile dp) {
|
||||
int parentWidth, int parentHeight, StagedSplitBounds splitBoundsConfig,
|
||||
DeviceProfile dp, boolean isRtl) {
|
||||
int spaceAboveSnapshot = dp.overviewTaskThumbnailTopMarginPx;
|
||||
int totalThumbnailHeight = parentHeight - spaceAboveSnapshot;
|
||||
int dividerBar = splitBoundsConfig.appsStackedVertically
|
||||
|
||||
Reference in New Issue
Block a user