File tree 1 file changed +4
-5
lines changed
src/src/org/renpy/android
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() {
50
50
SensorManager sm = (SensorManager ) context .getSystemService (Context .SENSOR_SERVICE );
51
51
List <Sensor > allSensors = sm .getSensorList (Sensor .TYPE_ALL );
52
52
53
- if (allSensors != null ){
54
-
53
+ if (allSensors != null ) {
55
54
String resultString = "" ;
56
- for (Sensor s : allSensors )
57
- {
55
+ for (Sensor s : allSensors ) {
58
56
resultString += String .format ("Name=" + s .getName ());
59
57
resultString += String .format (",Vendor=" + s .getVendor ());
60
58
resultString += String .format (",Version=" + s .getVersion ());
61
59
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());
63
62
resultString += String .format (",Power=" + s .getPower ());
64
63
resultString += String .format (",Type=" + s .getType () + "\n " );
65
64
}
You can’t perform that action at this time.
0 commit comments