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

Commit 9b85e1ca authored by Jacky Wang's avatar Jacky Wang
Browse files

[Accessibility] MainSwitchPreference index is not announced by talkback

Verified this change does not impact ag/15109465.

Fix: 349514695
Flag: EXEMPT bugfix
Test: Talkback & Switch Access
Change-Id: I806cc43fff80341f77316587e1973f1436d2e20f
parent c805c6cf
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -19,14 +19,14 @@
    android:layout_height="wrap_content"
    android:layout_width="match_parent"
    android:paddingStart="?android:attr/listPreferredItemPaddingStart"
    android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
    android:importantForAccessibility="no">
    android:paddingEnd="?android:attr/listPreferredItemPaddingEnd">

    <com.android.settingslib.widget.MainSwitchBar
        android:id="@+id/settingslib_main_switch_bar"
        android:visibility="gone"
        android:layout_height="wrap_content"
        android:layout_width="match_parent" />
        android:layout_width="match_parent"
        android:importantForAccessibility="no" />

</FrameLayout>

+3 −3
Original line number Diff line number Diff line
@@ -17,14 +17,14 @@

<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_height="wrap_content"
    android:layout_width="match_parent"
    android:importantForAccessibility="no">
    android:layout_width="match_parent">

    <com.android.settingslib.widget.MainSwitchBar
        android:id="@+id/settingslib_main_switch_bar"
        android:visibility="gone"
        android:layout_height="wrap_content"
        android:layout_width="match_parent" />
        android:layout_width="match_parent"
        android:importantForAccessibility="no" />

</FrameLayout>