mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 03:08:19 +00:00
Merge "Prevent doubling up on split placeholder insets" into tm-qpr-dev
This commit is contained in:
@@ -218,6 +218,9 @@ public class DeviceProfile {
|
||||
public int overviewRowSpacing;
|
||||
public int overviewGridSideMargin;
|
||||
|
||||
// Split staging
|
||||
public int splitPlaceholderInset;
|
||||
|
||||
// Widgets
|
||||
private final ViewScaleProvider mViewScaleProvider;
|
||||
|
||||
@@ -459,6 +462,8 @@ public class DeviceProfile {
|
||||
overviewRowSpacing = res.getDimensionPixelSize(R.dimen.overview_grid_row_spacing);
|
||||
overviewGridSideMargin = res.getDimensionPixelSize(R.dimen.overview_grid_side_margin);
|
||||
|
||||
splitPlaceholderInset = res.getDimensionPixelSize(R.dimen.split_placeholder_inset);
|
||||
|
||||
// Calculate all of the remaining variables.
|
||||
extraSpace = updateAvailableDimensions(res);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user