summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--InCallUI/src/com/android/incallui/CallCardFragment.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/InCallUI/src/com/android/incallui/CallCardFragment.java b/InCallUI/src/com/android/incallui/CallCardFragment.java
index 690e824f0..413b23304 100644
--- a/InCallUI/src/com/android/incallui/CallCardFragment.java
+++ b/InCallUI/src/com/android/incallui/CallCardFragment.java
@@ -255,10 +255,11 @@ public class CallCardFragment extends BaseFragment<CallCardPresenter, CallCardPr
});
mCallStateButton = view.findViewById(R.id.callStateButton);
- mCallStateButton.setOnClickListener(new View.OnClickListener() {
+ mCallStateButton.setOnLongClickListener(new View.OnLongClickListener() {
@Override
- public void onClick(View v) {
+ public boolean onLongClick(View v) {
getPresenter().onCallStateButtonTouched();
+ return false;
}
});