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

* commit '225ad9b7ff206b0beb1b448de38fa1b5679f2ed0':
  Only show the most recent screen added to custom content (issue 11087978)
This commit is contained in:
Adam Cohen
2013-10-07 13:47:13 -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;