altoslib: Don't crash if there's no GPS coord to write KML
authorKeith Packard <keithp@keithp.com>
Thu, 12 Oct 2017 07:29:07 +0000 (00:29 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 12 Oct 2017 07:29:07 +0000 (00:29 -0700)
commite04679ba52761d5531037117a21ab1f1896358b0
tree9093f61782ddca8753f988ded8163c0d809662f4
parenta69d5773a63dbe5d6d758cea8eca2bf724e9d672
altoslib: Don't crash if there's no GPS coord to write KML

Just check for null before writing as a precaution.

Signed-off-by: Keith Packard <keithp@keithp.com>
altoslib/AltosKML.java