From 469bbe3bf5837a2cec51479393c1026f53916986 Mon Sep 17 00:00:00 2001 From: Lorenzo Colitti Date: Thu, 10 Dec 2015 17:17:17 +0900 Subject: [PATCH] Remove defunct EVENT_SEND_STICKY_BROADCAST_INTENT. http://ag/572619 , which removed the 3-second CONNECTIVITY_ACTION delay, removed its only caller, but missed removing the message declaration and processing code. Bug: 20013379 Change-Id: Ice573569715ba424b8bf66d1dd08184d2b4a60f1 --- .../java/com/android/server/ConnectivityService.java | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/services/core/java/com/android/server/ConnectivityService.java b/services/core/java/com/android/server/ConnectivityService.java index c712a568c4..822eb00a88 100644 --- a/services/core/java/com/android/server/ConnectivityService.java +++ b/services/core/java/com/android/server/ConnectivityService.java @@ -252,11 +252,6 @@ public class ConnectivityService extends IConnectivityManager.Stub */ private static final int EVENT_APPLY_GLOBAL_HTTP_PROXY = 9; - /** - * used internally to send a sticky broadcast delayed. - */ - private static final int EVENT_SEND_STICKY_BROADCAST_INTENT = 11; - /** * PAC manager has received new port. */ @@ -2508,11 +2503,6 @@ public class ConnectivityService extends IConnectivityManager.Stub handleDeprecatedGlobalHttpProxy(); break; } - case EVENT_SEND_STICKY_BROADCAST_INTENT: { - Intent intent = (Intent)msg.obj; - sendStickyBroadcast(intent); - break; - } case EVENT_PROXY_HAS_CHANGED: { handleApplyDefaultProxy((ProxyInfo)msg.obj); break;