Define a11y content description for work paused list

Bug: 151803591
Test: Manual
Change-Id: I2b592189d784010f09fcd54378f2b34bd2d6c6e3
This commit is contained in:
Samuel Fufa
2020-04-12 17:38:14 -07:00
parent 77cf9b780f
commit 6c00f16d67
2 changed files with 6 additions and 2 deletions

View File

@@ -645,8 +645,8 @@ public class AllAppsContainerView extends SpringRelativeLayout implements DragSo
if (!mIsWork || recyclerView == null) return;
boolean workDisabled = UserCache.INSTANCE.get(mLauncher).isAnyProfileQuietModeEnabled();
if (mWorkDisabled == workDisabled) return;
recyclerView.setContentDescription(
workDisabled ? mLauncher.getString(R.string.work_apps_paused_title) : null);
recyclerView.setContentDescription(workDisabled ? mLauncher.getString(
R.string.work_apps_paused_content_description) : null);
View overlayView = getOverlayView();
recyclerView.setItemAnimator(new DefaultItemAnimator());
if (workDisabled) {