parent
7b8e7d6514
commit
3c635b4bdf
|
@ -429,7 +429,7 @@ public class Godot extends Activity implements SensorEventListener, IDownloaderC
|
||||||
}
|
}
|
||||||
|
|
||||||
io = new GodotIO(this);
|
io = new GodotIO(this);
|
||||||
io.unique_id = Secure.ANDROID_ID;
|
io.unique_id = Secure.getString(getContentResolver(), Secure.ANDROID_ID);
|
||||||
GodotLib.io = io;
|
GodotLib.io = io;
|
||||||
mSensorManager = (SensorManager)getSystemService(Context.SENSOR_SERVICE);
|
mSensorManager = (SensorManager)getSystemService(Context.SENSOR_SERVICE);
|
||||||
mAccelerometer = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER);
|
mAccelerometer = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER);
|
||||||
|
|
Loading…
Reference in New Issue