Merge "Don't notify isolated processes about proxy updates."
This commit is contained in:
committed by
Android (Google) Code Review
commit
37da4868f5
@@ -2033,7 +2033,9 @@ public class ActivityManagerService extends IActivityManager.Stub
|
||||
synchronized (ActivityManagerService.this) {
|
||||
for (int i = mLruProcesses.size() - 1 ; i >= 0 ; i--) {
|
||||
ProcessRecord r = mLruProcesses.get(i);
|
||||
if (r.thread != null) {
|
||||
// Don't dispatch to isolated processes as they can't access
|
||||
// ConnectivityManager and don't have network privileges anyway.
|
||||
if (r.thread != null && !r.isolated) {
|
||||
try {
|
||||
r.thread.setHttpProxy(host, port, exclList, pacFileUrl);
|
||||
} catch (RemoteException ex) {
|
||||
|
||||
Reference in New Issue
Block a user