Talkback speaking for the notification option should be consistent

Because the "Silent" button uses RelativeLayout with getAccessibilityClassName not returning "Button", we use the NotificationButtonRelativeLayout which does that instead
Fix: 141348514
Test: manual testing. see bug report
Change-Id: Ic1c329ae1ad97aed45dc488ee7260d0081211784
This commit is contained in:
Jay Aliomer
2019-10-03 14:28:43 -04:00
parent a80a7c16f2
commit aed74bf543

View File

@@ -67,7 +67,7 @@
android:visibility="gone" />
</com.android.settings.notification.NotificationButtonRelativeLayout>
<RelativeLayout
<com.android.settings.notification.NotificationButtonRelativeLayout
android:id="@+id/silence"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -109,6 +109,6 @@
android:layout_below="@id/silence_icon"
android:textAppearance="@style/TextAppearance.NotificationImportanceDetail"
android:visibility="gone" />
</RelativeLayout>
</com.android.settings.notification.NotificationButtonRelativeLayout>
</LinearLayout>