mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Merge "Migrate from android::String isEmpty to empty" into main
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user