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

Commit 37a9afbc authored by Veeti Paananen's avatar Veeti Paananen Committed by Gerrit Code Review
Browse files

Ignore null stylus gesture settings

If the user performs a stylus gesture that has not been configured in
the settings at all, the gesture filter would incorrectly interpret the
setting's null value as an app launch action.

Change-Id: If7f600a688bb7b5e0a9a2e912c3d6183a9c9a69e
parent 8db50fec
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2079,6 +2079,10 @@ public class PhoneWindow extends Window implements MenuBuilder.Callback {
                    return;
            }

            if (setting == null) {
                return;
            }

            try {
                int value = Integer.valueOf(setting);
                if (value == StylusGestureFilter.KEY_NO_ACTION) {