diff options
author | Jim Miller <jaggies@google.com> | 2015-02-11 19:51:05 -0800 |
---|---|---|
committer | Jim Miller <jaggies@google.com> | 2015-02-11 20:43:04 -0800 |
commit | 959ea56f3477d16b054d774e86b0f2dc4b500ba0 (patch) | |
tree | 21f78394823cdbe405dced12cab60bd442442a3a /packages | |
parent | 3292c0e2640667e5ef78896653a41c85e7de06c5 (diff) | |
download | frameworks_base-959ea56f3477d16b054d774e86b0f2dc4b500ba0.zip frameworks_base-959ea56f3477d16b054d774e86b0f2dc4b500ba0.tar.gz frameworks_base-959ea56f3477d16b054d774e86b0f2dc4b500ba0.tar.bz2 |
Fix accessibility focus bug in statusbar
The root view of the new uber statusbar should not be focusable.
Based on history, it looks like this was an oversight when this view
was refactored.
Fixes bug 19296202
Change-Id: Ib7f6908c30ab37384aa50f4fa4198c15593a96a4
Diffstat (limited to 'packages')
-rw-r--r-- | packages/SystemUI/res/layout/super_status_bar.xml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/SystemUI/res/layout/super_status_bar.xml b/packages/SystemUI/res/layout/super_status_bar.xml index 6d3f976..532e1b7 100644 --- a/packages/SystemUI/res/layout/super_status_bar.xml +++ b/packages/SystemUI/res/layout/super_status_bar.xml @@ -22,9 +22,7 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" - android:focusable="true" - android:fitsSystemWindows="true" - android:descendantFocusability="afterDescendants"> + android:fitsSystemWindows="true"> <com.android.systemui.statusbar.BackDropView android:id="@+id/backdrop" @@ -45,7 +43,8 @@ <com.android.systemui.statusbar.ScrimView android:id="@+id/scrim_behind" android:layout_width="match_parent" - android:layout_height="match_parent" /> + android:layout_height="match_parent" + android:importantForAccessibility="no" /> <include layout="@layout/status_bar" android:layout_width="match_parent" @@ -82,6 +81,7 @@ <com.android.systemui.statusbar.ScrimView android:id="@+id/scrim_in_front" android:layout_width="match_parent" - android:layout_height="match_parent" /> + android:layout_height="match_parent" + android:importantForAccessibility="no" /> </com.android.systemui.statusbar.phone.StatusBarWindowView> |