Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b32c16aa authored by Liz Prucka's avatar Liz Prucka Committed by Android (Google) Code Review
Browse files

Merge "[Intrusion Logging] Fix INetdEventCallback in disable" into main

parents a744c7e8 609dd77d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -83,11 +83,11 @@ public class NetworkLogSource implements DataSource {
        }
        try {
            if (!mIpConnectivityMetrics.removeNetdEventCallback(
                    INetdEventCallback.CALLBACK_CALLER_NETWORK_WATCHLIST)) {
                    INetdEventCallback.CALLBACK_CALLER_DEVICE_POLICY)) {

                mIsNetworkLoggingEnabled.set(false);
            } else {
                Slog.e(TAG, "Failed to enable network logging; invalid callback");
                Slog.e(TAG, "Failed to disable network logging; invalid callback");
            }
        } catch (RemoteException e) {
            Slog.e(TAG, "Failed to disable network logging; ", e);