diff options
Diffstat (limited to 'java/com/android/dialer/app/DialtactsActivity.java')
-rw-r--r-- | java/com/android/dialer/app/DialtactsActivity.java | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/java/com/android/dialer/app/DialtactsActivity.java b/java/com/android/dialer/app/DialtactsActivity.java index d9a63fab2..755b335ec 100644 --- a/java/com/android/dialer/app/DialtactsActivity.java +++ b/java/com/android/dialer/app/DialtactsActivity.java @@ -907,8 +907,7 @@ public class DialtactsActivity extends TransactionSafeActivity @Override public void onCallPlacedFromDialpad() { - hideDialpadFragment(false /* animate */, true /*clearDialpad */); - exitSearchUi(); + mClearSearchOnPause = true; } @Override @@ -1021,9 +1020,8 @@ public class DialtactsActivity extends TransactionSafeActivity private void hideDialpadAndSearchUi() { if (mIsDialpadShown) { hideDialpadFragment(false, true); - } else { - exitSearchUi(); } + exitSearchUi(); } private void prepareVoiceSearchButton() { @@ -1678,11 +1676,9 @@ public class DialtactsActivity extends TransactionSafeActivity } @Override - public void onCallPlaced() { - if (mIsDialpadShown) { - hideDialpadFragment(false, true); - } - exitSearchUi(); + public void onCallPlacedFromSearch() { + DialerUtils.hideInputMethod(mParentLayout); + mClearSearchOnPause = true; } protected int getPreviouslySelectedTabIndex() { |