From 7a06c4462c9f0fabeff15be92854a40f286058f8 Mon Sep 17 00:00:00 2001 From: Yorke Lee Date: Wed, 4 Sep 2013 15:49:51 -0700 Subject: Clear search view when call is made from search fragment Bug: 10624384 Change-Id: Ia999f4b8ba697ad01a0e8a161fd1ec9ff3cc7d97 --- src/com/android/dialer/DialtactsActivity.java | 4 +--- 1 file changed, 1 insertion(+), 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); } -- cgit v1.2.3