Sensors support

The user decides which sensors he wants to use by setting them enabled

Property definitions

android :: sensors $ App :: enable_sensors
	# Sensors support
	# The user decides which sensors he wants to use by setting them enabled
	private fun enable_sensors
	do
		if sensors_support_enabled then enable_sensors_management else return
		if accelerometer.enabled then enable_accelerometer
		if magnetic_field.enabled then enable_magnetic_field
		if gyroscope.enabled then enable_gyroscope
		if light.enabled then enable_light
		if proximity.enabled then enable_proximity
	end
lib/android/sensors.nit:248,2--258,4