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 // caller type. Need to re-factor NetdEventListenerService to allow multiple
// NetworkMonitor registrants. // NetworkMonitor registrants.
if (nai != null && nai.satisfies(mDefaultRequest)) { if (nai != null && nai.satisfies(mDefaultRequest)) {
try { Binder.withCleanCallingIdentity(() ->
nai.networkMonitor().notifyDnsResponse(returnCode); nai.networkMonitor().notifyDnsResponse(returnCode));
} catch (RemoteException e) {
e.rethrowFromSystemServer();
}
} }
} }