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

Commit 647d8f5b authored by Hyunyoung Song's avatar Hyunyoung Song
Browse files

Fix index out of exception inside UserEventDispatcher

Change-Id: Ie043ba8185c4dcd794067421682d8b4bb6095c9f
parent d70e75a5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -240,7 +240,7 @@ public class UserEventDispatcher {

    public void logActionOnControl(int action, int controlType, @Nullable View controlInContainer,
                                   int parentContainerType) {
        final LauncherEvent event = controlInContainer == null
        final LauncherEvent event = (controlInContainer == null && parentContainerType < 0)
                ? newLauncherEvent(newTouchAction(action), newTarget(Target.Type.CONTROL))
                : newLauncherEvent(newTouchAction(action), newTarget(Target.Type.CONTROL),
                        newTarget(Target.Type.CONTAINER));