diff options
Diffstat (limited to 'cmds/input')
-rw-r--r-- | cmds/input/src/com/android/commands/input/Input.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/input/src/com/android/commands/input/Input.java b/cmds/input/src/com/android/commands/input/Input.java index 473b60c..2a7c79b 100644 --- a/cmds/input/src/com/android/commands/input/Input.java +++ b/cmds/input/src/com/android/commands/input/Input.java @@ -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() { |