Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 38836b88 authored by Tomasz Wasilczyk's avatar Tomasz Wasilczyk
Browse files

Migrate from android::String isEmpty to empty

This empty method is different from the old one - it aligns with
std::string definition.

Bug: 295394788
Test: make checkbuild
Change-Id: I98dad222b149e6052b7dc63c477d84c9eb011dd3
parent 3cc1fa79
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;