Fix hotseat flicker when opened all apps in landscape, rotate screen, pull down

am: d7d740287f

Change-Id: Ie5f36dee1fd63fc4f5e92c790ae7fff80f8730c3
This commit is contained in:
Hyunyoung Song 2016-08-05 18:56:31 +00:00 committed by android-build-merger
commit a6aab437dc
2 changed files with 2 additions and 3 deletions

View File

@ -265,7 +265,6 @@ public class LauncherStateTransitionAnimation {
toView.setScaleY(1.0f);
toView.setAlpha(1.0f);
toView.setVisibility(View.VISIBLE);
toView.bringToFront();
// Show the content view
contentView.setVisibility(View.VISIBLE);

View File

@ -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);
}