summaryrefslogtreecommitdiff
path: root/src/com/android/server/NetworkStackService.java
diff options
context:
space:
mode:
authorChalard Jean <jchalard@google.com>2019-04-01 13:04:07 +0900
committerChalard Jean <jchalard@google.com>2019-04-01 13:32:25 +0900
commite1d6c4d640681da569b5071dbaedb062b18b585d (patch)
tree27a2eea03bf8c11f4fe0804762dc577a96f6aa21 /src/com/android/server/NetworkStackService.java
parent675d40142a238c31cfde02e62bd2f12df94b94b7 (diff)
Cleanup SystemReady in the network stack
The system server (in SystemServer.java) defines the boot sequence, during which an event called SystemReady happens. This corresponds to a time when critical system services that are depended upon by other components in the system server are ready to handle requests from their dependencies. Some system services are listening to this event to defer initializations that depend on the critical services. Because the network stack is only started after SystemReady, there is no way any NetworkMonitor may be started before SystemReady. Remove the associated mechanism. Fix: 129376083 Test: FrameworksNetTests Change-Id: I071eeb10d0b7c4f71af6653d322c7b442b2cc7ee
Diffstat (limited to 'src/com/android/server/NetworkStackService.java')
-rw-r--r--src/com/android/server/NetworkStackService.java6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/com/android/server/NetworkStackService.java b/src/com/android/server/NetworkStackService.java
index 63f057c..a0a90fd 100644
--- a/src/com/android/server/NetworkStackService.java
+++ b/src/com/android/server/NetworkStackService.java
@@ -303,12 +303,6 @@ public class NetworkStackService extends Service {
}
@Override
- public void notifySystemReady() {
- checkNetworkStackCallingPermission();
- mNm.notifySystemReady();
- }
-
- @Override
public void notifyNetworkConnected(LinkProperties lp, NetworkCapabilities nc) {
checkNetworkStackCallingPermission();
mNm.notifyNetworkConnected(lp, nc);