commit | 8a218307359c6f34bd337424d3dc1491b3cd9c48 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> | Fri Aug 25 16:38:32 2023 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Fri Aug 25 16:38:32 2023 +0000 |
tree | abeb63e23776c907dbfada823165a6289ffba70a | |
parent | ee6590ef2d1c3a16e574e3ca3d1f01e6cc728f32 [diff] | |
parent | 38836b884b04c4a625958f1450a44673a29bb543 [diff] |
Merge "Migrate from android::String isEmpty to empty" into main
diff --git a/cas/aidl/default/TypeConvert.cpp b/cas/aidl/default/TypeConvert.cpp index 4f7005f..1f0a46d 100644 --- a/cas/aidl/default/TypeConvert.cpp +++ b/cas/aidl/default/TypeConvert.cpp
@@ -98,7 +98,7 @@ for (auto it = sessionId.begin(); it != sessionId.end(); it++) { result.appendFormat("%02x ", *it); } - if (result.isEmpty()) { + if (result.empty()) { result.append("(null)"); } return result;