Address leftover comments on aosp/894233
Cherry-pick from commit 415f523f7ce4c7e33fa70ea003f265e5b53faa20, with small conflict resolution. Bug: 129510344 Test: m, boots, wifi connects, resolves DNS Change-Id: Idf24f42a86bbfcc89e3ea8cf50d1b705d72ac613 Merged-In: Idf24f42a86bbfcc89e3ea8cf50d1b705d72ac613 Merged-In: Ia08104f839ef37139a8761e2e625bb10c94c275f
This commit is contained in:
@@ -1767,11 +1767,8 @@ public class ConnectivityService extends IConnectivityManager.Stub
|
||||
// caller type. Need to re-factor NetdEventListenerService to allow multiple
|
||||
// NetworkMonitor registrants.
|
||||
if (nai != null && nai.satisfies(mDefaultRequest)) {
|
||||
try {
|
||||
nai.networkMonitor().notifyDnsResponse(returnCode);
|
||||
} catch (RemoteException e) {
|
||||
e.rethrowFromSystemServer();
|
||||
}
|
||||
Binder.withCleanCallingIdentity(() ->
|
||||
nai.networkMonitor().notifyDnsResponse(returnCode));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user