Commit ebf203e0 authored by Claes Sjofors's avatar Claes Sjofors

Android app, animation scantime minlimit increased

parent dc014ab3
...@@ -1968,7 +1968,6 @@ public class MainActivity extends Activity implements PlowAppl, GraphApplIfc, Gd ...@@ -1968,7 +1968,6 @@ public class MainActivity extends Activity implements PlowAppl, GraphApplIfc, Gd
public void run() { public void run() {
if ( !initDone) if ( !initDone)
return; return;
System.out.println("MainActivity TimerTask " + currentCmn.type());
switch(currentCmn.type()) { switch(currentCmn.type()) {
case PlowCmnIfc.TYPE_PLOW: case PlowCmnIfc.TYPE_PLOW:
new GdhTask().execute(new GdhTaskArg(GdhTask.SCAN, new GdhTask().execute(new GdhTaskArg(GdhTask.SCAN,
...@@ -2069,7 +2068,7 @@ System.out.println("MainActivity TimerTask " + currentCmn.type()); ...@@ -2069,7 +2068,7 @@ System.out.println("MainActivity TimerTask " + currentCmn.type());
graph.gdraw.setActivity(this); graph.gdraw.setActivity(this);
GraphCmn cmn = new GraphCmn(graph); GraphCmn cmn = new GraphCmn(graph);
currentCmn = cmn; currentCmn = cmn;
setScanTime( graph.getAnimationScanTime()); setScanTime( Math.max(graph.getAnimationScanTime(), 0.25));
cmnList.add(cmn); cmnList.add(cmn);
// new GdhTask().execute(new GdhTaskArg(GdhTask.DYNAMIC_OPEN, null)); // new GdhTask().execute(new GdhTaskArg(GdhTask.DYNAMIC_OPEN, null));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment