altosdroid: make AltosDroid.pos() static
authorMike Beattie <mike@ethernal.org>
Thu, 7 Mar 2013 08:20:06 +0000 (21:20 +1300)
committerMike Beattie <mike@ethernal.org>
Thu, 7 Mar 2013 08:20:06 +0000 (21:20 +1300)
* Will be used from tabs that display lat/lon

Signed-off-by: Mike Beattie <mike@ethernal.org>
altosdroid/src/org/altusmetrum/AltosDroid/AltosDroid.java

index 5019f2fcc81b08b6538320181cbd77c3df112f74..3b76fc9b4ad81e65ceccab5b940e4e0d3b30197d 100644 (file)
@@ -193,7 +193,7 @@ public class AltosDroid extends Activity {
                mAltosVoice.tell(state);
        }
 
-       String pos(double p, String pos, String neg) {
+       static String pos(double p, String pos, String neg) {
                String  h = pos;
                if (p < 0) {
                        h = neg;