Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aaacb14d authored by Pinyao Ting's avatar Pinyao Ting Committed by Android (Google) Code Review
Browse files

Merge "Remove noises during a11y drag in Launcher." into main

parents 1d9b09c2 e50d5ded
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -119,6 +119,9 @@ public class LauncherDragController extends DragController<Launcher> {
                        initialDragViewScale,
                        dragViewScaleOnDrop,
                        scalePx);
        // During a drag, we don't want to expose the descendendants of drag view to a11y users,
        // since those decendents are not a valid position in the workspace.
        dragView.setImportantForAccessibility(View.IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS);
        dragView.setItemInfo(dragInfo);
        mDragObject.dragComplete = false;