From 2fc962347d37dfad6aaad0c218f4eb4d4fe55230 Mon Sep 17 00:00:00 2001 From: Doug Zongker Date: Fri, 4 Dec 2009 10:31:43 -0800 Subject: [PATCH] move event log tags used by system server into this package We can now locate event log tag definitions in individual packages (and java constants for the tag numbers get auto-generated), so move all the tags used by the system server into the package. --- services/java/com/android/server/ConnectivityService.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/services/java/com/android/server/ConnectivityService.java b/services/java/com/android/server/ConnectivityService.java index a91635e743..676e5f66f8 100644 --- a/services/java/com/android/server/ConnectivityService.java +++ b/services/java/com/android/server/ConnectivityService.java @@ -56,9 +56,6 @@ public class ConnectivityService extends IConnectivityManager.Stub { private static final boolean DBG = true; private static final String TAG = "ConnectivityService"; - // Event log tags (must be in sync with event-log-tags) - private static final int EVENTLOG_CONNECTIVITY_STATE_CHANGED = 50020; - // how long to wait before switching back to a radio's default network private static final int RESTORE_DEFAULT_NETWORK_DELAY = 1 * 60 * 1000; // system property that can override the above value @@ -1230,7 +1227,7 @@ public class ConnectivityService extends IConnectivityManager.Stub { int eventLogParam = (info.getType() & 0x7) | ((info.getDetailedState().ordinal() & 0x3f) << 3) | (info.getSubtype() << 9); - EventLog.writeEvent(EVENTLOG_CONNECTIVITY_STATE_CHANGED, + EventLog.writeEvent(EventLogTags.CONNECTIVITY_STATE_CHANGED, eventLogParam); if (info.getDetailedState() ==