cataluna84 / beginnginandroidgames2

Automatically exported from code.google.com/p/beginnginandroidgames2
0 stars 0 forks source link

Deprecated code in game framework #3 #4

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
        if (manager.getSensorList(Sensor.TYPE_ORIENTATION).size() != 0) {
            Sensor compass = manager.getDefaultSensor(Sensor.TYPE_ORIENTATION);
            manager.registerListener(this, compass,
                    SensorManager.SENSOR_DELAY_GAME);
        }

needs to be changed

Original issue reported on code.google.com by davidtia...@gmail.com on 9 Jan 2013 at 9:07