XashActivity: fix return value

This commit is contained in:
Alibek Omarov (a1batross) 2017-03-02 21:37:32 +03:00
parent 9c9f98623a
commit af63c6fd5b

View file

@ -1059,7 +1059,7 @@ class JoystickHandler_v12 extends JoystickHandler
// how event can be from null device, Android? // how event can be from null device, Android?
final InputDevice device = event.getDevice(); final InputDevice device = event.getDevice();
if( device == null ) if( device == null )
return; return false;
// maybe I need to cache this... // maybe I need to cache this...
for( InputDevice.MotionRange range: device.getMotionRanges() ) for( InputDevice.MotionRange range: device.getMotionRanges() )