Merge "Fix VVM playback control buttons don’t support TALKBACK"
diff --git a/res/layout/playback_layout.xml b/res/layout/playback_layout.xml
index 01ed2e9..640daed 100644
--- a/res/layout/playback_layout.xml
+++ b/res/layout/playback_layout.xml
@@ -41,6 +41,7 @@
                 android:layout_height="match_parent"
                 android:background="?android:attr/selectableItemBackground"
                 android:src="@drawable/ic_hold_pause"
+                android:contentDescription="@string/description_playback_start_stop"
             />
         </LinearLayout>
         <LinearLayout
@@ -55,6 +56,7 @@
                 android:layout_height="match_parent"
                 android:background="?android:attr/selectableItemBackground"
                 android:src="@drawable/ic_speakerphone_on"
+                android:contentDescription="@string/description_playback_speakerphone"
             />
         </LinearLayout>
     </LinearLayout>
@@ -87,6 +89,7 @@
             android:layout_marginStart="64dip"
             android:max="0"
             android:layout_centerVertical="true"
+            android:contentDescription="@string/description_playback_seek"
         />
         <TextView
             android:id="@+id/playback_position_text"
@@ -117,6 +120,7 @@
             android:paddingTop="29dip"
             android:layout_alignParentStart="true"
             android:layout_centerVertical="true"
+            android:contentDescription="@string/description_rate_decrease"
         />
         <ImageButton
             android:id="@+id/rate_increase_button"
@@ -128,6 +132,7 @@
             android:paddingTop="29dip"
             android:layout_alignParentEnd="true"
             android:layout_centerVertical="true"
+            android:contentDescription="@string/description_rate_increase"
         />
         <View
             android:layout_width="match_parent"
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 6cd140c..847e0f3 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -296,6 +296,36 @@
     -->
     <string name="description_digits_edittext">number to dial</string>
 
+    <!-- String describing the button in the voicemail playback to start/stop playback.
+
+         Used by AccessibilityService to announce the purpose of the view.
+    -->
+    <string name="description_playback_start_stop">Play or stop playback</string>
+
+    <!-- String describing the button in the voicemail playback to switch on/off speakerphone.
+
+         Used by AccessibilityService to announce the purpose of the view.
+    -->
+    <string name="description_playback_speakerphone">Switch on or off speakerphone</string>
+
+    <!-- String describing the seekbar in the voicemail playback to seek playback position.
+
+         Used by AccessibilityService to announce the purpose of the view.
+    -->
+    <string name="description_playback_seek">Seek playback position</string>
+
+    <!-- String describing the button in the voicemail playback to decrease playback rate.
+
+         Used by AccessibilityService to announce the purpose of the view.
+    -->
+    <string name="description_rate_decrease">Decrease playback rate</string>
+
+    <!-- String describing the button in the voicemail playback to increase playback rate.
+
+         Used by AccessibilityService to announce the purpose of the view.
+    -->
+    <string name="description_rate_increase">Increase playback rate</string>
+
     <!-- Content description for the fake action menu button that brings up the call history
          activity -->
     <string name="action_menu_call_history_description">Call History</string>