Add a binder IPC to close socket connections.
Bug: 27824851
Bug: 27867653
Change-Id: I2e63ccfb268db763ec732594a73c2908838468b8
diff --git a/server/NetdNativeService.h b/server/NetdNativeService.h
index 96759e1..22c81fc 100644
--- a/server/NetdNativeService.h
+++ b/server/NetdNativeService.h
@@ -40,6 +40,8 @@
binder::Status bandwidthEnableDataSaver(bool enable, bool *ret) override;
binder::Status networkRejectNonSecureVpn(bool enable, const std::vector<UidRange>& uids)
override;
+ binder::Status socketDestroy(const std::vector<UidRange>& uids,
+ const std::vector<int32_t>& skipUids) override;
};
} // namespace net