Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8fac6682 authored by Chenjie Luo's avatar Chenjie Luo Committed by Android (Google) Code Review
Browse files

Merge "Add system property config.disable_timeupdate to configure...

Merge "Add system property config.disable_timeupdate to configure NetworkTimeUpdateService" into lmp-sprout-dev
parents c9f6bb8e c597c55f
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -416,6 +416,8 @@ 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 {
@@ -863,7 +865,7 @@ public final class SystemServer {
                reportWtf("starting SamplingProfiler Service", e);
            }

            if (!disableNetwork) {
            if (!disableNetwork && !disableNetworkTimeProtocol) {
                try {
                    Slog.i(TAG, "NetworkTimeUpdateService");
                    networkTimeUpdater = new NetworkTimeUpdateService(context);