Merge "Migrate from android::String isEmpty to empty" into main am: 8a21830735
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2707853 Change-Id: I2412bcaad2813af336b939c1f7b295224dec7bab Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
8f1eea8f9d
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ String8 sessionIdToString(const std::vector<uint8_t>& sessionId) {
|
|||
for (auto it = sessionId.begin(); it != sessionId.end(); it++) {
|
||||
result.appendFormat("%02x ", *it);
|
||||
}
|
||||
if (result.isEmpty()) {
|
||||
if (result.empty()) {
|
||||
result.append("(null)");
|
||||
}
|
||||
return result;
|
||||
|
|
Loading…
Reference in a new issue