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

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

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

Merge "Add system property config.disable_networktime to configure NetworkTimeUpdateService" into lmp-sprout-dev
parents 68c537f1 2cab8825
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -416,6 +416,7 @@ 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 disableNetworkTime = SystemProperties.getBoolean("config.disable_networktime", false);
        boolean isEmulator = SystemProperties.get("ro.kernel.qemu").equals("1");

        try {
@@ -863,7 +864,7 @@ public final class SystemServer {
                reportWtf("starting SamplingProfiler Service", e);
            }

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