From 0bb96ac051bd1d515004db384281452e42f0394e Mon Sep 17 00:00:00 2001 From: Nancy Chen Date: Fri, 15 Jan 2016 16:21:27 -0800 Subject: Dismiss dialpad when clicking in search area. If a user goes from the search fragment to the dialpad and then clicks on the space above the dialpad, they probably expect to go back to the search fragment--dismiss the dialpad. See the bug for context. Bug: 23302853 Change-Id: I69053a2c8289f18d99e47c5d539a5ba94bde2ab6 --- src/com/android/dialer/DialtactsActivity.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/com/android/dialer/DialtactsActivity.java b/src/com/android/dialer/DialtactsActivity.java index bcc45a0e4..72753bea4 100644 --- a/src/com/android/dialer/DialtactsActivity.java +++ b/src/com/android/dialer/DialtactsActivity.java @@ -1038,6 +1038,7 @@ public class DialtactsActivity extends TransactionSafeActivity implements View.O public boolean onTouch(View v, MotionEvent event) { // Show the FAB when the user touches the lists fragment and the soft // keyboard is hidden. + hideDialpadFragment(true, false); showFabInSearchUi(); return false; } -- cgit v1.2.3