Merge "Limit broadcast of data reduction proxy change intent"

This commit is contained in:
Selim Gurun
2014-05-06 17:03:03 +00:00
committed by Android (Google) Code Review

View File

@@ -1206,7 +1206,8 @@ public class DevelopmentSettings extends RestrictedSettingsFragment
Settings.Secure.WEBVIEW_DATA_REDUCTION_PROXY,
mWebViewDataReductionProxy.isChecked() ? 1 : 0);
Intent intent = new Intent(WebView.DATA_REDUCTION_PROXY_SETTING_CHANGED);
getActivity().sendBroadcast(intent);
// Broadcast to all apps running as current user.
getActivity().sendBroadcastAsUser(intent, UserHandle.CURRENT);
}
private void updateWebViewDataReductionProxyOptions() {