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