From 6bc6716bcecf319109d47a90e8f223c96c5a66fb Mon Sep 17 00:00:00 2001 From: Yorke Lee Date: Sat, 27 Jun 2015 14:03:25 -0700 Subject: Accessibility fix for Dialer search results In portrait mode, resize the listview to fit above the dialpad, so that accessibility services can correctly traverse the view hierarchy. Bug: 20172384 Change-Id: I35fb49be7bea5d13d951c4d954ddaf9d8d12780e --- src/com/android/dialer/DialtactsActivity.java | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/com/android/dialer/DialtactsActivity.java') diff --git a/src/com/android/dialer/DialtactsActivity.java b/src/com/android/dialer/DialtactsActivity.java index 653ed8b30..b8a1d4dce 100644 --- a/src/com/android/dialer/DialtactsActivity.java +++ b/src/com/android/dialer/DialtactsActivity.java @@ -1281,10 +1281,19 @@ public class DialtactsActivity extends TransactionSafeActivity implements View.O return mActionBarController; } + @Override public boolean isDialpadShown() { return mIsDialpadShown; } + @Override + public int getDialpadHeight() { + if (mDialpadFragment != null) { + return mDialpadFragment.getDialpadHeight(); + } + return 0; + } + @Override public int getActionBarHideOffset() { return getActionBar().getHideOffset(); -- cgit v1.2.3