Fix a logging NPE problem

bug:6864064
Change-Id: I3237e55cb164462b9616515b0de009bf687f1dca
This commit is contained in:
Robert Greenwalt
2012-08-02 16:06:56 -07:00
parent 9a59f6e02f
commit 41508f0544

View File

@ -1378,7 +1378,8 @@ public class CdmaServiceStateTracker extends ServiceStateTracker {
mZoneTime = c.getTimeInMillis();
}
if (DBG) {
log("NITZ: tzOffset=" + tzOffset + " dst=" + dst + " zone=" + zone.getID() +
log("NITZ: tzOffset=" + tzOffset + " dst=" + dst + " zone=" +
(zone!=null ? zone.getID() : "NULL") +
" iso=" + iso + " mGotCountryCode=" + mGotCountryCode +
" mNeedFixZone=" + mNeedFixZone);
}