/**
* A valid gsm cell must have cell id != -1
* Note: cells with cid > max value 0xffff are accepted (typically UMTS cells. We handle them separately
*
* @param gsmIdentity {@link CellIdentityGsm}
* @return true if valid gsm cell
*/
@TargetApi(JELLY_BEAN_MR1)
private boolean isValidGsmCell(final CellIdentityGsm gsmIdentity) {
if (gsmIdentity == null) {
return false;
}
final Integer cid = gsmIdentity.getCid();
return (cid > 0 && cid != Integer.MAX_VALUE);
}
WirelessLoggerService.java 文件源码
java
阅读 27
收藏 0
点赞 0
评论 0
项目:radiocells-scanner-android
作者:
评论列表
文章目录