mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-07 23:03:11 +08:00
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…
Reference in New Issue
Block a user