am fd3ea4f2: Merge "Setting hotseat padding to the container for symmetry" into ub-launcher3-burnaby
* commit 'fd3ea4f20b1aa8907ab46b5cb1457c5cd16ae5e3':
Setting hotseat padding to the container for symmetry
diff --git a/src/com/android/launcher3/DeviceProfile.java b/src/com/android/launcher3/DeviceProfile.java
index b97f0f2..7d02e10 100644
--- a/src/com/android/launcher3/DeviceProfile.java
+++ b/src/com/android/launcher3/DeviceProfile.java
@@ -766,8 +766,7 @@
lp.gravity = Gravity.BOTTOM;
lp.width = LayoutParams.MATCH_PARENT;
lp.height = hotseatBarHeightPx;
- hotseat.findViewById(R.id.layout).setPadding(2 * edgeMarginPx, 0,
- 2 * edgeMarginPx, 0);
+ hotseat.setPadding(2 * edgeMarginPx, 0, 2 * edgeMarginPx, 0);
}
hotseat.setLayoutParams(lp);