Make Proxy change broadcast sticky
Makes it easier for apps who care. Includes the current values. Change-Id: I5f1d3589a036ebc9910281f97d4780ecda2829f2
This commit is contained in:
parent
82cde1324d
commit
d93dc8f82d
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue