Merge "Address leftover comments on aosp/894233" into qt-dev

This commit is contained in:
TreeHugger Robot
2019-04-09 13:39:29 +00:00
committed by Android (Google) Code Review

View File

@@ -1771,11 +1771,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));
}
}