Fix build, GsmServiceStateTracker was using old EventLog API.

Change-Id: Ib202d0ebbbb11c0ccad40445426c0c3704eb30b5
This commit is contained in:
Wink Saville
2010-01-21 14:15:05 -08:00
parent 88a195b58a
commit ac376f4854

View File

@@ -867,8 +867,8 @@ final class GsmServiceStateTracker extends ServiceStateTracker {
int cid = -1;
GsmCellLocation loc = ((GsmCellLocation)phone.getCellLocation());
if (loc != null) cid = loc.getCid();
EventLog.List val = new EventLog.List(cid, networkType, newNetworkType);
EventLog.writeEvent(TelephonyEventLog.EVENT_LOG_GSM_RAT_SWITCHED, val);
EventLog.writeEvent(TelephonyEventLog.EVENT_LOG_GSM_RAT_SWITCHED,
cid, networkType, newNetworkType);
Log.d(LOG_TAG,
"RAT switched " + networkTypeToString(networkType) + " -> "
+ networkTypeToString(newNetworkType) + " at cell " + cid);