summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSai Cheemalapati <saicheems@google.com>2014-06-10 20:39:06 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-06-10 20:39:09 +0000
commit11cac5e3a006136710d79bded5b06e68f28daf90 (patch)
tree61e5d2cc7786d76071e2f460479c31d7eb10cf47
parent7d76814cc12e7e8f6a39749ca037280b85a56d03 (diff)
parent6841f192723c34d2680ac45a852c75aef251b3e4 (diff)
Merge "Fix bug where keyboard jumps in landscape."
-rw-r--r--src/com/android/dialer/widget/SearchEditTextLayout.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/com/android/dialer/widget/SearchEditTextLayout.java b/src/com/android/dialer/widget/SearchEditTextLayout.java
index f3e355d7c..3dcbc4bb1 100644
--- a/src/com/android/dialer/widget/SearchEditTextLayout.java
+++ b/src/com/android/dialer/widget/SearchEditTextLayout.java
@@ -230,7 +230,9 @@ public class SearchEditTextLayout extends FrameLayout {
mVoiceSearchButtonView.setVisibility(collapsedViewVisibility);
mOverflowButtonView.setVisibility(collapsedViewVisibility);
mBackButtonView.setVisibility(expandedViewVisibility);
- mExpandedSearchBox.setVisibility(expandedViewVisibility);
+ // TODO: Prevents keyboard from jumping up in landscape mode after exiting the
+ // SearchFragment when the query string is empty. More elegant fix?
+ //mExpandedSearchBox.setVisibility(expandedViewVisibility);
mClearButtonView.setVisibility(expandedViewVisibility);
}