summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/com/android/dialer/DialtactsActivity.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/dialer/DialtactsActivity.java b/src/com/android/dialer/DialtactsActivity.java
index c85ce42bf..ca7a958b7 100644
--- a/src/com/android/dialer/DialtactsActivity.java
+++ b/src/com/android/dialer/DialtactsActivity.java
@@ -233,6 +233,7 @@ public class DialtactsActivity extends TransactionSafeActivity implements View.O
if (TextUtils.isEmpty(newText) && getInSearchUi()) {
exitSearchUi();
mSearchViewCloseButton.setVisibility(View.GONE);
+ mVoiceSearchButton.setVisibility(View.VISIBLE);
return;
} else if (!TextUtils.isEmpty(newText)) {
final boolean sameSearchMode = (dialpadSearch && mInDialpadSearch) ||
@@ -249,6 +250,7 @@ public class DialtactsActivity extends TransactionSafeActivity implements View.O
mRegularSearchFragment.setQueryString(newText, false);
}
mSearchViewCloseButton.setVisibility(View.VISIBLE);
+ mVoiceSearchButton.setVisibility(View.GONE);
return;
}
}