Merge "Mergin motorola patch to avoind 0 id for all apps button" into ub-now-master

This commit is contained in:
Sunny Goyal
2014-07-21 18:11:41 +00:00
committed by Android (Google) Code Review
+1 -1
View File
@@ -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);
}
}