Skip to content

Commit c120b6e

Browse files
author
Jim Miller
committed
Fix "keyguard unresponsive" bug
This fixes a bug where the code would pop up SearchPanelView and never close it. The result is that the overlapping window would absorb all input events and effectively prevent the user from entering their pin/pattern/password. The fix is to replace ImageView with KeyButtonView to make the behavior consistent with how it's handle in home screen. Fixes bug 7520075 Change-Id: I461bf2844c023fd7a2dffca1177cc5951f30dba0
1 parent 3012b39 commit c120b6e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/SystemUI/res/layout-sw600dp/navigation_bar.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@
141141
/>
142142
</LinearLayout>
143143

144-
<ImageView
144+
<com.android.systemui.statusbar.policy.KeyButtonView
145145
android:layout_width="128dp"
146146
android:id="@+id/search_light"
147147
android:layout_height="match_parent"
@@ -282,7 +282,7 @@
282282
/>
283283
</LinearLayout>
284284

285-
<ImageView
285+
<com.android.systemui.statusbar.policy.KeyButtonView
286286
android:layout_width="162dp"
287287
android:id="@+id/search_light"
288288
android:layout_height="match_parent"

packages/SystemUI/res/layout/navigation_bar.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@
145145
/>
146146
</LinearLayout>
147147

148-
<ImageView
148+
<com.android.systemui.statusbar.policy.KeyButtonView
149149
android:layout_width="80dp"
150150
android:id="@+id/search_light"
151151
android:layout_height="match_parent"
@@ -289,7 +289,7 @@
289289
/>
290290
</LinearLayout>
291291

292-
<ImageView
292+
<com.android.systemui.statusbar.policy.KeyButtonView
293293
android:id="@+id/search_light"
294294
android:layout_height="80dp"
295295
android:layout_width="match_parent"

0 commit comments

Comments
 (0)