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

Commit 9fd21056 authored by Samuel Fufa's avatar Samuel Fufa
Browse files

App shortcut overlapping app icon when selecting the app using USB mouse

Test: Manual
Bug:113287687
Change-Id: Ib02c736a312937a9b71d5168d965446b6fc5b7b7
parent 19b15701
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1289,6 +1289,10 @@ public abstract class PagedView<T extends View & PageIndicator> extends ViewGrou
        if ((event.getSource() & InputDevice.SOURCE_CLASS_POINTER) != 0) {
            switch (event.getAction()) {
                case MotionEvent.ACTION_SCROLL: {
                    Launcher launcher = Launcher.getLauncher(getContext());
                    if (launcher != null) {
                        AbstractFloatingView.closeAllOpenViews(launcher);
                    }
                    // Handle mouse (or ext. device) by shifting the page depending on the scroll
                    final float vscroll;
                    final float hscroll;