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

Commit d4dc9545 authored by Zak Cohen's avatar Zak Cohen
Browse files

Remove unused code from DeepShortcutView.

Change-Id: I4df34c71912bdd91c3e5ef37ae4af7b185fd369a
Tested: manual on pixel 3
parent cc4c6147
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -40,8 +40,6 @@ public class DeepShortcutView extends FrameLayout {

    private static final Point sTempPoint = new Point();

    private final Rect mPillRect;

    private BubbleTextView mBubbleText;
    private View mIconView;
    private View mDivider;
@@ -59,8 +57,6 @@ public class DeepShortcutView extends FrameLayout {

    public DeepShortcutView(Context context, AttributeSet attrs, int defStyle) {
        super(context, attrs, defStyle);

        mPillRect = new Rect();
    }

    @Override
@@ -98,12 +94,6 @@ public class DeepShortcutView extends FrameLayout {
        return sTempPoint;
    }

    @Override
    protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
        super.onMeasure(widthMeasureSpec, heightMeasureSpec);
        mPillRect.set(0, 0, getMeasuredWidth(), getMeasuredHeight());
    }

    /** package private **/
    public void applyShortcutInfo(ShortcutInfo info, ShortcutInfoCompat detail,
            PopupContainerWithArrow container) {