|
@@ -1825,10 +1825,9 @@ class SDLSurface extends SurfaceView implements SurfaceHolder.Callback,
|
|
|
|
|
|
if (source == InputDevice.SOURCE_UNKNOWN) {
|
|
|
InputDevice device = InputDevice.getDevice(deviceId);
|
|
|
- if ( device != null )
|
|
|
- {
|
|
|
- source = device.getSources();
|
|
|
- }
|
|
|
+ if (device != null) {
|
|
|
+ source = device.getSources();
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
if ((source & InputDevice.SOURCE_KEYBOARD) != 0) {
|