summaryrefslogtreecommitdiff
path: root/quickstep/src/com/android/launcher3/appprediction/AppsDividerView.java
diff options
context:
space:
mode:
Diffstat (limited to 'quickstep/src/com/android/launcher3/appprediction/AppsDividerView.java')
-rw-r--r--quickstep/src/com/android/launcher3/appprediction/AppsDividerView.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/quickstep/src/com/android/launcher3/appprediction/AppsDividerView.java b/quickstep/src/com/android/launcher3/appprediction/AppsDividerView.java
index 63a569a65c..1b0f967a1f 100644
--- a/quickstep/src/com/android/launcher3/appprediction/AppsDividerView.java
+++ b/quickstep/src/com/android/launcher3/appprediction/AppsDividerView.java
@@ -282,8 +282,7 @@ public class AppsDividerView extends View implements StateListener<LauncherState
@Override
public void setInsets(Rect insets, DeviceProfile grid) {
- int leftRightPadding = grid.desiredWorkspaceLeftRightMarginPx
- + grid.cellLayoutPaddingLeftRightPx;
+ int leftRightPadding = grid.allAppsLeftRightPadding;
setPadding(leftRightPadding, getPaddingTop(), leftRightPadding, getPaddingBottom());
}