Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eca18c0b authored by fbaron's avatar fbaron
Browse files

Fix flicker for widget picker

Fix: 312159033
Flag: NONE
Test: verified on device
Change-Id: I69e39c9041ff2d0a2ac3a6459a4c85c131a1b785
parent 54dbd42c
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -95,7 +95,7 @@ public class WidgetsFullSheet extends BaseWidgetSheet
    private static final long FADE_IN_DURATION = 150;
    private static final long EDUCATION_TIP_DELAY_MS = 200;
    private static final long EDUCATION_DIALOG_DELAY_MS = 500;
    private static final float VERTICAL_START_POSITION = 0.3f;

    // The widget recommendation table can easily take over the entire screen on devices with small
    // resolution or landscape on phone. This ratio defines the max percentage of content area that
    // the table can display.
@@ -622,7 +622,6 @@ public class WidgetsFullSheet extends BaseWidgetSheet
        if (animate) {
            if (getPopupContainer().getInsets().bottom > 0) {
                mContent.setAlpha(0);
                setTranslationShift(VERTICAL_START_POSITION);
            }
            setUpOpenAnimation(mActivityContext.getDeviceProfile().bottomSheetOpenDuration);
            Animator animator = mOpenCloseAnimation.getAnimationPlayer();