diff --git a/engine/src/android/com/jme3/input/android/AndroidSensorJoyInput.java b/engine/src/android/com/jme3/input/android/AndroidSensorJoyInput.java index b279894a0..b4f6c0bc3 100644 --- a/engine/src/android/com/jme3/input/android/AndroidSensorJoyInput.java +++ b/engine/src/android/com/jme3/input/android/AndroidSensorJoyInput.java @@ -130,6 +130,9 @@ public class AndroidSensorJoyInput implements JoyInput, SensorEventListener { sensorManager = (SensorManager) JmeAndroidSystem.getActivity().getSystemService(Context.SENSOR_SERVICE); // Get instance of Vibrator from current Context vibrator = (Vibrator) JmeAndroidSystem.getActivity().getSystemService(Context.VIBRATOR_SERVICE); + if (vibrator == null) { + logger.log(Level.INFO, "Vibrator Service not found."); + } initSensors(); }