From d25e4efdc1974131bfbdaecbec9302a891567a94 Mon Sep 17 00:00:00 2001 From: Chenjie Luo Date: Thu, 16 Oct 2014 20:22:24 +0000 Subject: [PATCH] Revert "Add system property config.disable_timeupdate to configure NetworkTimeUpdateService" This reverts commit c597c55ffeb9debcf2dba8a77a80caa9016ea4d1. Change-Id: Idc83e582c10dda2c6245ec19921785f361a07a68 --- services/java/com/android/server/SystemServer.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/services/java/com/android/server/SystemServer.java b/services/java/com/android/server/SystemServer.java index d8cc9769fac55..92ad1ad742ba7 100644 --- a/services/java/com/android/server/SystemServer.java +++ b/services/java/com/android/server/SystemServer.java @@ -416,8 +416,6 @@ public final class SystemServer { boolean disableSystemUI = SystemProperties.getBoolean("config.disable_systemui", false); boolean disableNonCoreServices = SystemProperties.getBoolean("config.disable_noncore", false); boolean disableNetwork = SystemProperties.getBoolean("config.disable_network", false); - boolean disableNetworkTimeProtocol = SystemProperties.getBoolean("config.disable_networktimeprotocol", - false); boolean isEmulator = SystemProperties.get("ro.kernel.qemu").equals("1"); try { @@ -865,7 +863,7 @@ public final class SystemServer { reportWtf("starting SamplingProfiler Service", e); } - if (!disableNetwork && !disableNetworkTimeProtocol) { + if (!disableNetwork) { try { Slog.i(TAG, "NetworkTimeUpdateService"); networkTimeUpdater = new NetworkTimeUpdateService(context);