summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNancy Chen <nancychen@google.com>2016-01-15 16:21:27 -0800
committerNancy Chen <nancychen@google.com>2016-01-21 03:14:46 +0000
commit0bb96ac051bd1d515004db384281452e42f0394e (patch)
tree78ff1deb3691d80abf37a2f05e66daef037845e9
parent167bd12018429e57e4ddd77129daf124dcc2771f (diff)
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
-rw-r--r--src/com/android/dialer/DialtactsActivity.java1
1 files changed, 1 insertions, 0 deletions
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;
}