diff options
author | Yorke Lee <yorkelee@google.com> | 2015-06-27 14:03:25 -0700 |
---|---|---|
committer | Yorke Lee <yorkelee@google.com> | 2015-06-29 15:34:57 -0700 |
commit | 6bc6716bcecf319109d47a90e8f223c96c5a66fb (patch) | |
tree | cd2be0e5dadbabb8c1989b77d5ed2aa363d15718 /src/com/android/dialer/DialtactsActivity.java | |
parent | bab70c36308ca61950b9b64afe754d9ec2d98b30 (diff) |
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
Diffstat (limited to 'src/com/android/dialer/DialtactsActivity.java')
-rw-r--r-- | src/com/android/dialer/DialtactsActivity.java | 9 |
1 files changed, 9 insertions, 0 deletions
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,11 +1281,20 @@ 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(); } |