summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2023-05-23 00:01:06 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2023-05-23 00:01:06 +0000
commit265e9e2841b4fe3b49dc365a7a2a70e3e62376a6 (patch)
tree91118c67fa4e1f07901116a8d3f754bf2a9897d4
parente4bd4a880c422e6e899e608a6f3dc60f7cb9506f (diff)
parent5255c97174dfacd6553aa0e1b4a70c925264eab5 (diff)
Merge "libbinder: save space for optional config options."
-rw-r--r--libs/binder/Binder.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/binder/Binder.cpp b/libs/binder/Binder.cpp
index 3e49656575..0f4a6cabde 100644
--- a/libs/binder/Binder.cpp
+++ b/libs/binder/Binder.cpp
@@ -58,15 +58,15 @@ static_assert(sizeof(BBinder) == 20);
// global b/c b/230079120 - consistent symbol table
#ifdef BINDER_RPC_DEV_SERVERS
-bool kEnableRpcDevServers = true;
+constexpr bool kEnableRpcDevServers = true;
#else
-bool kEnableRpcDevServers = false;
+constexpr bool kEnableRpcDevServers = false;
#endif
#ifdef BINDER_ENABLE_RECORDING
-bool kEnableRecording = true;
+constexpr bool kEnableRecording = true;
#else
-bool kEnableRecording = false;
+constexpr bool kEnableRecording = false;
#endif
// Log any reply transactions for which the data exceeds this size