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

Commit b1ae9e0d authored by Matt Pietal's avatar Matt Pietal
Browse files

Bouncer a11y - Make message area selectable

By default, focus should go to the input area for PIN views.
However, the user should still be able to navigate to the message
area text to prompt readout.

Fixes: 379016691
Test: manual - use talkback
Flag: EXEMPT a11y fix
Change-Id: I2c566148dd5c12be6222dfb85c43b447772a1ec9
parent 775c8548
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginTop="@dimen/keyguard_lock_padding"
        android:focusable="true"
        android:focusable="false"
         />

    <com.android.keyguard.BouncerKeyguardMessageArea
@@ -30,6 +30,6 @@
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginTop="@dimen/secondary_message_padding"
        android:focusable="true" />
        android:focusable="false" />

</merge>
+1 −1
Original line number Diff line number Diff line
@@ -66,7 +66,7 @@

            <com.android.systemui.bouncer.ui.BouncerMessageView
                android:id="@+id/bouncer_message_view"
                android:importantForAccessibility="noHideDescendants"
                android:screenReaderFocusable="true"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:orientation="vertical" />
+1 −1
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@

    <com.android.systemui.bouncer.ui.BouncerMessageView
        android:id="@+id/bouncer_message_view"
        android:importantForAccessibility="noHideDescendants"
        android:screenReaderFocusable="true"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical"
+1 −1
Original line number Diff line number Diff line
@@ -67,7 +67,7 @@

            <com.android.systemui.bouncer.ui.BouncerMessageView
                android:id="@+id/bouncer_message_view"
                android:importantForAccessibility="noHideDescendants"
                android:screenReaderFocusable="true"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:orientation="vertical" />
+1 −1
Original line number Diff line number Diff line
@@ -35,7 +35,7 @@

    <com.android.systemui.bouncer.ui.BouncerMessageView
        android:id="@+id/bouncer_message_view"
        android:importantForAccessibility="noHideDescendants"
        android:screenReaderFocusable="true"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical" />
Loading