From 8517b69b9ecfb5a13c66852647e8ad908716b2f5 Mon Sep 17 00:00:00 2001 From: Mehdi Alizadeh Date: Mon, 23 Apr 2018 15:55:26 -0700 Subject: [PATCH] Prepares SecondaryDropTarget to inherit from Bug: 77638406 Test: None Change-Id: I8a1b1e2ef4cb9b090da33b3b56de177c9ddc6171 --- src/com/android/launcher3/SecondaryDropTarget.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/android/launcher3/SecondaryDropTarget.java b/src/com/android/launcher3/SecondaryDropTarget.java index 024b4eb593..7870af9351 100644 --- a/src/com/android/launcher3/SecondaryDropTarget.java +++ b/src/com/android/launcher3/SecondaryDropTarget.java @@ -52,7 +52,7 @@ public class SecondaryDropTarget extends ButtonDropTarget implements OnAlarmList private final Alarm mCacheExpireAlarm; - private int mCurrentAccessibilityAction = -1; + protected int mCurrentAccessibilityAction = -1; public SecondaryDropTarget(Context context, AttributeSet attrs) { this(context, attrs, 0); } @@ -70,7 +70,7 @@ public class SecondaryDropTarget extends ButtonDropTarget implements OnAlarmList setupUi(UNINSTALL); } - private void setupUi(int action) { + protected void setupUi(int action) { if (action == mCurrentAccessibilityAction) { return; }