This commit is contained in:
wangcongtao
2020-06-15 15:20:12 +08:00
parent dbd108f22e
commit 1c0fa6a1e7
6 changed files with 27 additions and 5 deletions

View File

@@ -115,7 +115,7 @@ public class MogoTraffic {
}
public int getSpeedLimit() {
return mSpeedLimit;
return mSpeedLimit < 0 ? 0 : mSpeedLimit;
}
public void setSpeedLimit( int speedLimit ) {