Merge "Migrate from android::String isEmpty to empty" into main am: 8a21830735
am: 8f1eea8f9d
am: 6df90de737
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2707853 Change-Id: I2a22339a4943e9e3e96a46055ecadfbb109df620 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
3dbb0cba6a
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++) {
|
for (auto it = sessionId.begin(); it != sessionId.end(); it++) {
|
||||||
result.appendFormat("%02x ", *it);
|
result.appendFormat("%02x ", *it);
|
||||||
}
|
}
|
||||||
if (result.isEmpty()) {
|
if (result.empty()) {
|
||||||
result.append("(null)");
|
result.append("(null)");
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
|
|
Loading…
Reference in a new issue