Fix issue where TalkBack would announce Apps instead of Widgets (issue 11012666)
Change-Id: Ia25c370d706055bee4a5766cfdea20b637e936b4
diff --git a/src/com/android/launcher3/Launcher.java b/src/com/android/launcher3/Launcher.java
index a11c487..f2f4962 100644
--- a/src/com/android/launcher3/Launcher.java
+++ b/src/com/android/launcher3/Launcher.java
@@ -3462,7 +3462,7 @@
text.clear();
// Populate event with a fake title based on the current state.
if (mState == State.APPS_CUSTOMIZE) {
- text.add(getString(R.string.all_apps_button_label));
+ text.add(mAppsCustomizeTabHost.getCurrentTabView().getContentDescription());
} else {
text.add(getString(R.string.all_apps_home_button_label));
}