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

Commit 571364da authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Snap for 7963886 from 9620663e to sc-v2-release

Change-Id: I2e3ea9ff9c683336c84bca87928cd2b7c57edbf4
parents 4de3532c 9620663e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -70,7 +70,7 @@ static const std::unordered_map<std::string, int32_t>& getErrorStringMap() {

status_t errorStringToStatus(const char *error) {
    const auto& map = getErrorStringMap();
    if (error == nullptr || error == "") return NO_ERROR;
    if (error == nullptr || error[0] == '\0') return NO_ERROR;
    auto it = map.find(error);
    if (it != map.end()) {
        return it->second;