summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorSteven Moreland <smoreland@google.com>2022-04-18 22:34:41 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2022-04-18 22:34:41 +0000
commit8ea206679e5ee63696e3b17f5da6938d03bf88a6 (patch)
treea002c533b2942fb872a95a91d18411f2b4d07e84 /libs
parente1d797219097be512bb4a9d844eb7beb2fff7926 (diff)
parentd2ccc0a52a043638f5c0149fc9dcf7492d726f93 (diff)
downloadnative-8ea206679e5ee63696e3b17f5da6938d03bf88a6.tar.gz
Merge "libbinder: setupInetServer assignedPort optional" am: 8a8ba7a2cd am: 78cb8543fb am: d2ccc0a52a
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2064694 Change-Id: Ie20ff5143e4f536130d5b4eaca76fad358324ec3 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'libs')
-rw-r--r--libs/binder/include/binder/RpcServer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/binder/include/binder/RpcServer.h b/libs/binder/include/binder/RpcServer.h
index aaa812b067..6b31812d17 100644
--- a/libs/binder/include/binder/RpcServer.h
+++ b/libs/binder/include/binder/RpcServer.h
@@ -77,7 +77,7 @@ public:
* have
*/
[[nodiscard]] status_t setupInetServer(const char* address, unsigned int port,
- unsigned int* assignedPort);
+ unsigned int* assignedPort = nullptr);
/**
* If setup*Server has been successful, return true. Otherwise return false.