mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-02 17:06:49 +00:00
Define a11y content description for work paused list
Bug: 151803591 Test: Manual Change-Id: I2b592189d784010f09fcd54378f2b34bd2d6c6e3
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user