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

Commit c1e66b52 authored by Jon Miranda's avatar Jon Miranda
Browse files

Fix folder outline not matching the v28 radius.

Bug: 175329686
Test: manual, open folder and verify no visual artifacts
Change-Id: If7cfaf6f95e43ad6f2636b136bc98961554ebf36
parent da2ecb30
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -40,7 +40,6 @@ import androidx.core.graphics.ColorUtils;
import com.android.launcher3.BubbleTextView;
import com.android.launcher3.CellLayout;
import com.android.launcher3.R;
import com.android.launcher3.ResourceUtils;
import com.android.launcher3.ShortcutAndWidgetContainer;
import com.android.launcher3.Utilities;
import com.android.launcher3.anim.PropertyResetListener;
@@ -177,7 +176,7 @@ public class FolderAnimationManager {
                Math.round((totalOffsetX + initialSize)),
                Math.round((paddingOffsetY + initialSize)));
        Rect endRect = new Rect(0, 0, lp.width, lp.height);
        float finalRadius = ResourceUtils.pxFromDp(2, mContext.getResources().getDisplayMetrics());
        float finalRadius = mFolderBackground.getCornerRadius();

        // Create the animators.
        AnimatorSet a = new AnimatorSet();