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

Commit 7812757c authored by Ricky Wai's avatar Ricky Wai
Browse files

Turn on network watchlist service by default

Bug: 63908748
Test: Able to boot
Change-Id: Ie0a53dfe9f055f7f9f7099349993037065debd5a
parent 899715b9
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -63,7 +63,7 @@ public class NetworkWatchlistService extends INetworkWatchlistManager.Stub {
        @Override
        public void onStart() {
            if (Settings.Global.getInt(getContext().getContentResolver(),
                    Settings.Global.NETWORK_WATCHLIST_ENABLED, 0) == 0) {
                    Settings.Global.NETWORK_WATCHLIST_ENABLED, 1) == 0) {
                // Watchlist service is disabled
                Slog.i(TAG, "Network Watchlist service is disabled");
                return;
@@ -76,7 +76,7 @@ public class NetworkWatchlistService extends INetworkWatchlistManager.Stub {
        public void onBootPhase(int phase) {
            if (phase == SystemService.PHASE_ACTIVITY_MANAGER_READY) {
                if (Settings.Global.getInt(getContext().getContentResolver(),
                        Settings.Global.NETWORK_WATCHLIST_ENABLED, 0) == 0) {
                        Settings.Global.NETWORK_WATCHLIST_ENABLED, 1) == 0) {
                    // Watchlist service is disabled
                    Slog.i(TAG, "Network Watchlist service is disabled");
                    return;