Remove two redundant layout pass in AllAppsTransitionController.

Change-Id: I48d043820db962c58e97a09d7888303c1d5bf4ad
This commit is contained in:
Hyunyoung Song
2016-07-27 17:08:38 -07:00
parent 8fcdee05bb
commit dd60ce41b3
3 changed files with 16 additions and 18 deletions

View File

@@ -348,9 +348,10 @@ public class AllAppsContainerView extends BaseContainerView implements DragSourc
mAppsRecyclerView.preMeasureViews(mAdapter);
mAdapter.setIconFocusListener(focusedItemDecorator.getFocusListener());
// TODO(hyunyoungs): clean up setting the content and the reveal view.
if (FeatureFlags.LAUNCHER3_ALL_APPS_PULL_UP) {
getRevealView().setVisibility(View.VISIBLE);
getContentView().setVisibility(View.VISIBLE);
getContentView().setBackground(null);
}
}