mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-19 07:02:51 +08:00
woops java type checks! love it!
This commit is contained in:
parent
003e3d4d85
commit
c7d4d83476
@ -59,7 +59,7 @@ public class CompassListener extends Plugin implements SensorEventListener {
|
||||
* Constructor.
|
||||
*/
|
||||
public CompassListener() {
|
||||
this.heading = 0.0;
|
||||
this.heading = 0;
|
||||
this.timeStamp = 0;
|
||||
this.setStatus(CompassListener.STOPPED);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user