forked from github/cordova-android
woops java type checks! love it!
This commit is contained in:
parent
40cd71484c
commit
390fe537f8
@ -59,7 +59,7 @@ public class CompassListener extends Plugin implements SensorEventListener {
|
|||||||
* Constructor.
|
* Constructor.
|
||||||
*/
|
*/
|
||||||
public CompassListener() {
|
public CompassListener() {
|
||||||
this.heading = 0.0;
|
this.heading = 0;
|
||||||
this.timeStamp = 0;
|
this.timeStamp = 0;
|
||||||
this.setStatus(CompassListener.STOPPED);
|
this.setStatus(CompassListener.STOPPED);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user