Talkback issue in Dialer Settings for back button

The voice prompt for the back button in dialer settings for Blocked
numbers, Calls, and Quick Responses displays "Navigate up" instead of
"Back". This is expected because it indicates that there is a view one
level higher where the aforementioned views were invoked from. Hence,
talkback assistant prompts user to "Navigate up (one level)".

To resolve the issue, we can provide an alternate content description
for back navigation by invoking setHomeActionContentDescription on the
given ActionBar instance.

Bug: 239758276
Test: Manual Test
Change-Id: I34cbbe4f17a4004cfce1fdb1045af7d28034e27f
diff --git a/src/com/android/phone/CallFeaturesSetting.java b/src/com/android/phone/CallFeaturesSetting.java
index fdd610e..145df41 100644
--- a/src/com/android/phone/CallFeaturesSetting.java
+++ b/src/com/android/phone/CallFeaturesSetting.java
@@ -16,6 +16,7 @@
 
 package com.android.phone;
 
+import android.app.ActionBar;
 import android.app.Activity;
 import android.app.AlertDialog;
 import android.app.Dialog;
@@ -268,6 +269,12 @@
                 getActionBar(), getResourcesForSubId(), R.string.call_settings_with_label);
         mTelecomManager = getSystemService(TelecomManager.class);
         mTelephonyCallback = new CallFeaturesTelephonyCallback();
+
+        ActionBar actionBar = getActionBar();
+        if (actionBar != null) {
+            // sets the talkback voice prompt to say "Back" instead of "Navigate Up"
+            actionBar.setHomeActionContentDescription(R.string.ota_call_end);
+        }
     }
 
     private void updateImsManager(Phone phone) {