Merge changes from topic "launcher-layout-res-dedup" into ub-launcher3-master
* changes:
[automerger] Using dragHandle for workspace padding calculation instead of pageIndicator am: 08ef66789b
Using dragHandle for workspace padding calculation instead of pageIndicator
This commit is contained in:
commit
076430d4be
5 files changed
+11
-17
No files matched your search
@@ -42,8 +42,7 @@ public class LayoutUtils {
|
||||
if (dp.isVerticalBarLayout()) {
|
||||
extraSpace = 0;
|
||||
} else {
|
||||
Resources res = context.getResources();
|
||||
extraSpace = dp.hotseatBarSizePx + res.getDimension(R.dimen.vertical_drag_handle_size);
|
||||
extraSpace = dp.hotseatBarSizePx + dp.verticalDragHandleSizePx;
|
||||
}
|
||||
calculateTaskSize(context, dp, extraSpace, MULTI_WINDOW_STRATEGY_HALF_SCREEN, outRect);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user