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

Commit e50d5ded authored by Pinyao Ting's avatar Pinyao Ting
Browse files

Remove noises during a11y drag in Launcher.

Bug: 374642145
Bug: 374656225
Bug: 374658319
Change-Id: I842415f689c992f64d863743f019455701da22e9
Test: manual
Flag: EXEMPT bugfix
parent 6f10fb57
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;