parent
22c9a44174
commit
6d37253be5
1 changed files with 2 additions and 2 deletions
|
@ -602,8 +602,8 @@ public class Godot extends Activity implements SensorEventListener, IDownloaderC
|
||||||
}
|
}
|
||||||
|
|
||||||
mView.onResume();
|
mView.onResume();
|
||||||
mSensorManager.registerListener(this, mAccelerometer, SensorManager.SENSOR_DELAY_NORMAL);
|
mSensorManager.registerListener(this, mAccelerometer, SensorManager.SENSOR_DELAY_GAME);
|
||||||
mSensorManager.registerListener(this, mMagnetometer, SensorManager.SENSOR_DELAY_NORMAL);
|
mSensorManager.registerListener(this, mMagnetometer, SensorManager.SENSOR_DELAY_GAME);
|
||||||
GodotLib.focusin();
|
GodotLib.focusin();
|
||||||
if(use_immersive && Build.VERSION.SDK_INT >= 19.0){ // check if the application runs on an android 4.4+
|
if(use_immersive && Build.VERSION.SDK_INT >= 19.0){ // check if the application runs on an android 4.4+
|
||||||
Window window = getWindow();
|
Window window = getWindow();
|
||||||
|
|
Loading…
Reference in a new issue