File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
src/src/org/renpy/android Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -50,16 +50,15 @@ public static String getHardwareSensors() {
5050 SensorManager sm = (SensorManager ) context .getSystemService (Context .SENSOR_SERVICE );
5151 List <Sensor > allSensors = sm .getSensorList (Sensor .TYPE_ALL );
5252
53- if (allSensors != null ){
54-
53+ if (allSensors != null ) {
5554 String resultString = "" ;
56- for (Sensor s : allSensors )
57- {
55+ for (Sensor s : allSensors ) {
5856 resultString += String .format ("Name=" + s .getName ());
5957 resultString += String .format (",Vendor=" + s .getVendor ());
6058 resultString += String .format (",Version=" + s .getVersion ());
6159 resultString += String .format (",MaximumRange=" + s .getMaximumRange ());
62- resultString += String .format (",MinDelay=" + s .getMinDelay ());
60+ // XXX MinDelay is not in the 2.2
61+ //resultString += String.format(",MinDelay=" + s.getMinDelay());
6362 resultString += String .format (",Power=" + s .getPower ());
6463 resultString += String .format (",Type=" + s .getType () + "\n " );
6564 }
You can’t perform that action at this time.
0 commit comments