summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSailesh Nepal <sail@google.com>2015-06-15 18:27:59 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-06-15 18:27:59 +0000
commit1c59dc173459d692029784da6c47f269e85d74ed (patch)
tree2737915247b2c64021ff684baf9c23a61b40bfbd
parent4d6f665d4e49253b0e910e6be04b4881f4953401 (diff)
parent776952c8bede9b3113fc4ea798ad0ed56cc205bf (diff)
am a9ca343a: am d1cb85dd: am 5131f109: Merge "Switch hanodff broadcast from click to long press" into mnc-dev
* commit 'a9ca343a9e575e72d1bee47ad964748c3d1ca2b4': Switch hanodff broadcast from click to long press
-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;
}
});