Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f51cea53 authored by Josh's avatar Josh
Browse files

Made keyguard pattern view unfocusable

Keyguard pattern view was receiving focus, causing a gray rectangular
background to show up when a physical keyboard was
connected, which isn't intended behavior as physical keyboards cannot
and should not interact with the pattern view.

Fixes: 328650320
Test: Manual - set lock screen auth method to pattern, wake up tablet
with spacebar/enter, ensure that there is no gray rectangle over the
pattern view.
Flag: NA

Change-Id: I768174728eeb269b04d927c25535d586b9a2a6d8
parent 8fec607c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -85,6 +85,7 @@
            android:layout_width="0dp"
            android:layout_height="0dp"
            android:layout_marginBottom="8dp"
            android:focusable="false"
            androidprv:layout_constraintVertical_bias="1.0"
            androidprv:layout_constraintDimensionRatio="1.0"
            androidprv:layout_constraintStart_toStartOf="parent"
+1 −0
Original line number Diff line number Diff line
@@ -57,6 +57,7 @@
            android:id="@+id/lockPatternView"
            android:layout_width="0dp"
            android:layout_height="0dp"
            android:focusable="false"
            androidprv:layout_constraintTop_toBottomOf="@id/pattern_top_guideline"
            androidprv:layout_constraintBottom_toBottomOf="parent"
            androidprv:layout_constraintLeft_toLeftOf="parent"