summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authoryueg <yueg@google.com>2017-09-12 15:15:27 -0700
committerEric Erfanian <erfanian@google.com>2017-09-13 14:17:05 -0700
commit49df7f60f2d42038bfd8429ae56b28efda57843e (patch)
treeb16245df7a6738f45f415fe6681c70ed8d895893 /java
parent7bea0364b6f8932f54cdb518de1014f408f0f3f3 (diff)
Log opening dialpad.
Bug: 64399026 Test: None. PiperOrigin-RevId: 168456040 Change-Id: I65fdae8dff1c9bb8e05e79f3ece2480b92f08c69
Diffstat (limited to 'java')
-rw-r--r--java/com/android/dialer/app/DialtactsActivity.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/java/com/android/dialer/app/DialtactsActivity.java b/java/com/android/dialer/app/DialtactsActivity.java
index 7f5a9b94a..ec67f5498 100644
--- a/java/com/android/dialer/app/DialtactsActivity.java
+++ b/java/com/android/dialer/app/DialtactsActivity.java
@@ -695,10 +695,16 @@ public class DialtactsActivity extends TransactionSafeActivity
int resId = view.getId();
if (resId == R.id.floating_action_button) {
if (!mIsDialpadShown) {
+ LogUtil.i(
+ "DialtactsActivity.onClick", "floating action button clicked, going to show dialpad");
PerformanceReport.recordClick(UiAction.Type.OPEN_DIALPAD);
mInCallDialpadUp = false;
showDialpadFragment(true);
PostCall.closePrompt();
+ } else {
+ LogUtil.i(
+ "DialtactsActivity.onClick",
+ "floating action button clicked, but dialpad is already showing");
}
} else if (resId == R.id.voice_search_button) {
try {