// For outgoing messages public LocationMessage(GeocodableLocation l) { super(); this.location = l; this.battery = Preferences.getPubLocationIncludeBattery() ? App.getBatteryLevel() : -1; ; this.waypoint = null; this.supressesTicker = false; this.trackerId = null; this.trigger = null; this.trackerId = Preferences.getTrackerId(true); }