diff options
author | 2023-10-17 19:42:32 +0000 | |
---|---|---|
committer | 2023-10-17 19:42:32 +0000 | |
commit | c699f8ff06d0a554f0d364bcf02ac23395121b1c (patch) | |
tree | 8d5644a0d5cb72b8b2135d76fc56a1b17bd1f6dd /libs/binder/RpcState.cpp | |
parent | 329a0430307f179426b4e9016f565955cf90da6b (diff) | |
parent | 0884c553986c4ea13ef4e449c900bb1ca13160b6 (diff) |
Merge "binderRpcTest: conditional experimental protocol" into main
Diffstat (limited to 'libs/binder/RpcState.cpp')
-rw-r--r-- | libs/binder/RpcState.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/binder/RpcState.cpp b/libs/binder/RpcState.cpp index cf14bce705..5046253837 100644 --- a/libs/binder/RpcState.cpp +++ b/libs/binder/RpcState.cpp @@ -408,10 +408,11 @@ bool RpcState::validateProtocolVersion(uint32_t version) { char codename[PROPERTY_VALUE_MAX]; property_get("ro.build.version.codename", codename, ""); if (!strcmp(codename, "REL")) { - ALOGE("Cannot use experimental RPC binder protocol on a release branch."); + ALOGE("Cannot use experimental RPC binder protocol in a release configuration."); return false; } #else + // TODO(b/305983144) // don't restrict on other platforms, though experimental should // only really be used for testing, we don't have a good way to see // what is shipping outside of Android |