Compact aidl exception message
[ Merge of go/wvgerrit/c/cdm/+/167499 ] Bug: 249941041 Change-Id: I81ce1ecef22bd87c6d879d1ccfd6874e9786f892
This commit is contained in:
@@ -160,6 +160,7 @@ CryptoSessionApi getCryptoSessionMethodEnum(const std::string& method) {
|
||||
jsonMsg["errorMessage"] = msg;
|
||||
}
|
||||
Json::FastWriter writer;
|
||||
writer.omitEndingLineFeed();
|
||||
return ::ndk::ScopedAStatus::fromServiceSpecificErrorWithMessage(
|
||||
err, writer.write(jsonMsg).c_str());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user