mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 16:26:47 +00:00
Fix hotseat flicker when opened all apps in landscape, rotate screen, pull down
b/30595452 Change-Id: Ib634ffbc509c6b16ac58c184ccbca15ae936be14
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -271,10 +271,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