Merge "Fix hotseat flicker when opened all apps in landscape, rotate screen, pull down" into ub-launcher3-calgary

This commit is contained in:
Hyunyoung Song authored and Android (Google) Code Review committed 2016-08-05 18:33:13 +00:00
commit 9323bdbb2a
2 files changed
+2 -3

No files matched your search

@@ -262,10 +262,10 @@ public class AllAppsTransitionController implements TouchController, VerticalPul
// Initialize values that should not change until #onDragEnd
mStatusBarHeight = mLauncher.getDragLayer().getInsets().top;
mHotseat.setVisibility(View.VISIBLE);
mHotseatBackgroundColor = mHotseat.getBackgroundDrawableColor();
mHotseat.setBackgroundTransparent(true /* transparent */);
if (!mLauncher.isAllAppsVisible()) {
mLauncher.tryAndUpdatePredictedApps();
mHotseatBackgroundColor = mHotseat.getBackgroundDrawableColor();
mHotseat.setBackgroundTransparent(true /* transparent */);
mAppsView.setVisibility(View.VISIBLE);
mAppsView.setRevealDrawableColor(mHotseatBackgroundColor);
}