Skip to content

Commit a10be93

Browse files
committed
TalkBack does not announce properly the buttons of the PIN lock.
The KeyBoardView shown by the lock screen is not marked as clickable even though it handles clicks. TalkBack uses the clickability as a clue of what to speak. bug:5713102 Change-Id: I0733e30619e6045ce3f78e1499db65f4dc5bc388
1 parent 003c15d commit a10be93

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

core/res/res/layout-sw600dp/keyguard_screen_password_landscape.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@
134134
android:layout_marginTop="5dip"
135135
android:keyBackground="@drawable/btn_keyboard_key_ics"
136136
android:visibility="gone"
137+
android:clickable="true"
137138
/>
138139

139140
<!-- Emergency call button. Generally not used on tablet devices. -->

core/res/res/layout-sw600dp/keyguard_screen_password_portrait.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@
133133
android:background="#40000000"
134134
android:keyBackground="@drawable/btn_keyboard_key_ics"
135135
android:layout_marginBottom="80dip"
136+
android:clickable="true"
136137
/>
137138

138139
<!-- emergency call button -->

core/res/res/layout/keyguard_screen_password_landscape.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@
193193
android:keyBackground="@*android:drawable/btn_keyboard_key_ics"
194194
android:visibility="gone"
195195
android:layout_rowSpan="7"
196+
android:clickable="true"
196197
/>
197198

198199
<!-- Music transport control -->

core/res/res/layout/keyguard_screen_password_portrait.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@
157157
android:background="#40000000"
158158
android:keyBackground="@*android:drawable/btn_keyboard_key_ics"
159159
android:visibility="gone"
160+
android:clickable="true"
160161
/>
161162

162163
<TextView

0 commit comments

Comments
 (0)