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

Commit 8517b69b authored by Mehdi Alizadeh's avatar Mehdi Alizadeh
Browse files

Prepares SecondaryDropTarget to inherit from

Bug: 77638406
Test: None
Change-Id: I8a1b1e2ef4cb9b090da33b3b56de177c9ddc6171
parent 80602a94
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -52,7 +52,7 @@ public class SecondaryDropTarget extends ButtonDropTarget implements OnAlarmList


    private final Alarm mCacheExpireAlarm;
    private final Alarm mCacheExpireAlarm;


    private int mCurrentAccessibilityAction = -1;
    protected int mCurrentAccessibilityAction = -1;
    public SecondaryDropTarget(Context context, AttributeSet attrs) {
    public SecondaryDropTarget(Context context, AttributeSet attrs) {
        this(context, attrs, 0);
        this(context, attrs, 0);
    }
    }
@@ -70,7 +70,7 @@ public class SecondaryDropTarget extends ButtonDropTarget implements OnAlarmList
        setupUi(UNINSTALL);
        setupUi(UNINSTALL);
    }
    }


    private void setupUi(int action) {
    protected void setupUi(int action) {
        if (action == mCurrentAccessibilityAction) {
        if (action == mCurrentAccessibilityAction) {
            return;
            return;
        }
        }