diff options
author | Chenjie Luo <cjluo@google.com> | 2014-10-16 20:22:24 +0000 |
---|---|---|
committer | Chenjie Luo <cjluo@google.com> | 2014-10-16 20:22:24 +0000 |
commit | d25e4efdc1974131bfbdaecbec9302a891567a94 (patch) | |
tree | d182dcd57e710c8d4aacc1b42e1ab623af94c2f8 /services/java/com/android/server/SystemServer.java | |
parent | c597c55ffeb9debcf2dba8a77a80caa9016ea4d1 (diff) | |
download | frameworks_base-d25e4efdc1974131bfbdaecbec9302a891567a94.zip frameworks_base-d25e4efdc1974131bfbdaecbec9302a891567a94.tar.gz frameworks_base-d25e4efdc1974131bfbdaecbec9302a891567a94.tar.bz2 |
Revert "Add system property config.disable_timeupdate to configure NetworkTimeUpdateService"
This reverts commit c597c55ffeb9debcf2dba8a77a80caa9016ea4d1.
Change-Id: Idc83e582c10dda2c6245ec19921785f361a07a68
Diffstat (limited to 'services/java/com/android/server/SystemServer.java')
-rw-r--r-- | services/java/com/android/server/SystemServer.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/services/java/com/android/server/SystemServer.java b/services/java/com/android/server/SystemServer.java index d8cc976..92ad1ad 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); |