LibPhoneStateListener.java 文件源码

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

项目:android-QoS 作者:
/**
 * When the cell location gets changed, the new cellId is added to the cell id buffer in the 
 * owner. At the same time, the CELLCHANGE event is stored.
 */
@Override
public void onCellLocationChanged(CellLocation location) {
    super.onCellLocationChanged(location);

    try {
           checkCDMACellSID (location);
        processNewCellLocation(new CellLocationEx(location));

        // See if this cellLocation has inner GsmLocation
        checkInnerGsmCellLocation (location);
        LoggerUtil.logToFile(LoggerUtil.Level.DEBUG, TAG, "onCellLocationChanged", location.toString());

    } catch (InterruptedException intEx){
        LoggerUtil.logToFile(LoggerUtil.Level.ERROR, TAG, "onCellLocationChanged", "InterruptedException: " + intEx.getMessage());
    }
    catch (Exception ex){
        String err = ex.toString();
        LoggerUtil.logToFile(LoggerUtil.Level.ERROR, TAG, "onCellLocationChanged", "InterruptedException: " + err);
    }
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号