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

Commit a2e13392 authored by Robert Greenwalt's avatar Robert Greenwalt
Browse files

Make Proxy change broadcast sticky

Makes it easier for apps who care.  Includes the current values.

Change-Id: I5f1d3589a036ebc9910281f97d4780ecda2829f2
parent 384977fc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2163,7 +2163,7 @@ public class ConnectivityService extends IConnectivityManager.Stub {
        Intent intent = new Intent(Proxy.PROXY_CHANGE_ACTION);
        intent.addFlags(Intent.FLAG_RECEIVER_REPLACE_PENDING);
        intent.putExtra(Proxy.EXTRA_PROXY_INFO, proxy);
        mContext.sendBroadcast(intent);
        mContext.sendStickyBroadcast(intent);
    }

    private static class SettingsObserver extends ContentObserver {