Ignore null value (Double.valueOf handles that correctly)
This commit is contained in:
parent
8142544442
commit
d6a0b1abb8
@ -49,8 +49,6 @@ public class IITC_UserLocation implements CompassListener, LocationListener {
|
|||||||
while (orientation > mOrientation + 180)
|
while (orientation > mOrientation + 180)
|
||||||
orientation -= 360;
|
orientation -= 360;
|
||||||
mOrientation = orientation;
|
mOrientation = orientation;
|
||||||
} else {
|
|
||||||
mOrientation = 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
mIitc.getWebView().loadJS("if(window.plugin && window.plugin.userLocation)"
|
mIitc.getWebView().loadJS("if(window.plugin && window.plugin.userLocation)"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user