am 70e4cf1c: am 225ad9b7: Only show the most recent screen added to custom content (issue 11087978)

* commit '70e4cf1c610765ba559255d07e0a9420ddb86c68':
  Only show the most recent screen added to custom content (issue 11087978)
This commit is contained in:
Adam Cohen
2013-10-07 13:49:28 -07:00
committed by Android Git Automerger
+1
View File
@@ -571,6 +571,7 @@ public class Workspace extends SmoothPagedView
if (customContent instanceof Insettable) {
((Insettable)customContent).setInsets(mInsets);
}
customScreen.removeAllViews();
customScreen.addViewToCellLayout(customContent, 0, 0, lp, true);
mCustomContentDescription = description;