LibPhoneStateListener.java 文件源码

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

项目:android-QoS 作者:
public CellLocationEx getLastCellLocation(){
    if (mPhoneState.lastKnownMMCCellLocation != null)
        return mPhoneState.lastKnownMMCCellLocation;
    CellLocation cellLoc = telephonyManager.getCellLocation();
    if (cellLoc != null)
    {
        LoggerUtil.logToFile(LoggerUtil.Level.DEBUG, TAG, "getLastCellLocation", "null cell, getCellLocation() = " + cellLoc.toString());

        CellLocationEx mmcCell = new CellLocationEx(cellLoc);
        try {
            processNewCellLocation(mmcCell);
        } catch (InterruptedException e) {
        }
        return mmcCell;
    }
    LoggerUtil.logToFile(LoggerUtil.Level.DEBUG, TAG, "getLastCellLocation", "null cell, getCellLocation() = null");
    return null;
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号