summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2013-09-04 15:49:51 -0700
committerYorke Lee <yorkelee@google.com>2013-09-04 15:49:51 -0700
commit7a06c4462c9f0fabeff15be92854a40f286058f8 (patch)
tree7e7f8003de5a924bcb574f2e8b0e18c0536f9f3c
parent6bf6d90f35f5245b844d685e58ae132e9a32bc03 (diff)
Clear search view when call is made from search fragment
Bug: 10624384 Change-Id: Ia999f4b8ba697ad01a0e8a161fd1ec9ff3cc7d97
-rw-r--r--src/com/android/dialer/DialtactsActivity.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/com/android/dialer/DialtactsActivity.java b/src/com/android/dialer/DialtactsActivity.java
index 7ba49979e..398c90e42 100644
--- a/src/com/android/dialer/DialtactsActivity.java
+++ b/src/com/android/dialer/DialtactsActivity.java
@@ -501,9 +501,7 @@ public class DialtactsActivity extends TransactionSafeActivity implements View.O
}
private void hideDialpadAndSearchUi() {
- if (getInSearchUi()) {
- exitSearchUi();
- }
+ mSearchView.setText(null);
hideDialpadFragment(false, true);
}