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

Commit 0d2631a3 authored by Robert Greenwalt's avatar Robert Greenwalt Committed by Android (Google) Code Review
Browse files

Merge "Allow bumpDns() to execute correctly before boot has completed"

parents 32cef98d 3d1db867
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1618,6 +1618,10 @@ public class ConnectivityService extends IConnectivityManager.Stub {
         */
        Intent intent = new Intent(Intent.ACTION_CLEAR_DNS_CACHE);
        intent.addFlags(Intent.FLAG_RECEIVER_REPLACE_PENDING);
        /*
         * Connectivity events can happen before boot has completed ...
         */
        intent.addFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT);
        mContext.sendBroadcast(intent);
    }