WirelessLoggerService.java 文件源码

java
阅读 31 收藏 0 点赞 0 评论 0

项目:openbmap 作者:
/**
 * A valid cdma location must have basestation id, network id and system id set
 * @param cdmaIdentity {@link CellInfoCdma}
 * @return true if valid cdma id
 */
@TargetApi(Build.VERSION_CODES.JELLY_BEAN_MR1)
private boolean isValidCdmaCell(final CellIdentityCdma cdmaIdentity) {
    if (cdmaIdentity == null) {
        return false;
    }
    return ((cdmaIdentity.getBasestationId() != -1) && (cdmaIdentity.getNetworkId() != -1) && (cdmaIdentity.getSystemId() != -1));
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号