Merge "Fix hotseat flicker when opened all apps in landscape, rotate screen, pull down" into ub-launcher3-calgary
This commit is contained in:
committed by
Android (Google) Code Review
commit
9323bdbb2a
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user