Make all up button speak the default description

Talkback speaks "back button" for the up button in the action bar, which
causes inconsistency with other injected pages.

Remove the self-defined content description to make it speak the default
one "Navigation up button".

Fixes: 158724875
Test: rebuild, manual
Change-Id: Ief2b1410553422cd6f06bd30e00ab4c8a59a3595
Merged-In: Ief2b1410553422cd6f06bd30e00ab4c8a59a3595
(cherry picked from commit dd0b2dc483)
This commit is contained in:
Jason Chiu
2020-07-27 16:17:32 +08:00
parent 2ce9a48f56
commit 5fd16e261c

View File

@@ -26,8 +26,7 @@
style="?android:attr/actionBarStyle" style="?android:attr/actionBarStyle"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:theme="?android:attr/actionBarTheme" android:theme="?android:attr/actionBarTheme" />
android:navigationContentDescription="@*android:string/back_button_label" />
<FrameLayout <FrameLayout
android:id="@+id/content_frame" android:id="@+id/content_frame"
android:layout_width="match_parent" android:layout_width="match_parent"