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

Commit 2132198d authored by Michael Wright's avatar Michael Wright
Browse files

Fix check for default source in input command

Change-Id: I30b062e78c7d4de59a5530999e6332ba3053f7c9
parent 39c9c632
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -265,7 +265,7 @@ public class Input {
    }

    private static final int getSource(int inputSource, int defaultSource) {
        return inputSource == -1 ? defaultSource : inputSource;
        return inputSource == InputDevice.SOURCE_UNKNOWN ? defaultSource : inputSource;
    }

    private void showUsage() {