Bump java lib versions to 13
[fw/altos] / altosdroid / src / org / altusmetrum / AltosDroid / TabFlight.java
index a02ae3a2f00efca299f92ffa739b2faafc45e641..8997d967dccee52c435225a9036daa3dbee1417b 100644 (file)
@@ -3,7 +3,8 @@
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2 of the License.
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful, but
  * WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -17,7 +18,7 @@
 
 package org.altusmetrum.AltosDroid;
 
-import org.altusmetrum.altoslib_7.*;
+import org.altusmetrum.altoslib_13.*;
 
 import android.app.Activity;
 import android.os.Bundle;
@@ -87,7 +88,7 @@ public class TabFlight extends AltosDroidTab {
                        set_value(speed_view, AltosConvert.speed, 6, state.speed());
                        set_value(height_view, AltosConvert.height, 6, state.height());
                        set_value(max_speed_view, AltosConvert.speed, 6, state.max_speed());
-                       set_value(max_height_view, AltosConvert.speed, 6, state.max_height());
+                       set_value(max_height_view, AltosConvert.height, 6, state.max_height());
                        if (from_receiver != null) {
                                elevation_view.setText(AltosDroid.number("%3.0f°", from_receiver.elevation));
                                set_value(range_view, AltosConvert.distance, 6, from_receiver.range);