From e7de3b2c2c2f6447c11d90846f491a4396d6c42d Mon Sep 17 00:00:00 2001 From: Sunny Goyal Date: Fri, 18 Jul 2014 09:35:28 -0700 Subject: Mergin motorola patch to avoind 0 id for all apps button issue: 15518514 Change-Id: I74a16600658f9299131cfbef7ad7a49ac25b12e7 --- src/com/android/launcher3/Hotseat.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/com/android/launcher3/Hotseat.java') diff --git a/src/com/android/launcher3/Hotseat.java b/src/com/android/launcher3/Hotseat.java index 2d171238f..8ed223007 100644 --- a/src/com/android/launcher3/Hotseat.java +++ b/src/com/android/launcher3/Hotseat.java @@ -167,7 +167,7 @@ public class Hotseat extends FrameLayout { int y = getCellYFromOrder(mAllAppsButtonRank); CellLayout.LayoutParams lp = new CellLayout.LayoutParams(x,y,1,1); lp.canReorder = false; - mContent.addViewToCellLayout(allAppsButton, -1, 0, lp, true); + mContent.addViewToCellLayout(allAppsButton, -1, allAppsButton.getId(), lp, true); } } -- cgit v1.2.3