更新老模块没有卫星信号,导致没有定位的问题
This commit is contained in:
parent
17eaba3846
commit
1753133e4f
|
@ -186,11 +186,13 @@ public class DeviceUtil {
|
|||
|
||||
/**
|
||||
* 卫星信号弱
|
||||
* 仅卫星信号不为空才判断,若为空,则不判断是否弱信号
|
||||
* 因为老模块没有卫星信号
|
||||
* @param s
|
||||
* @return
|
||||
*/
|
||||
public static boolean isLowSatelliteSignal(Integer s) {
|
||||
return s == null || s <= 5;
|
||||
return s != null && s <= 5;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue
Block a user