am 0ccb7d11: Merge "Fix check for default source in input command" into klp-dev
* commit '0ccb7d117fa13933cb0d7820387e00f3d1aff18d': Fix check for default source in input command
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user