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

Commit 961ba2d8 authored by Eric Jeong's avatar Eric Jeong
Browse files

Change string array emptiness test

Bug: 147488815
Test: Run dumpstate and check if HALs specified at "ro.dump.hals.extra"
property are included.

Change-Id: I57b2f2b28db08597eb384ff1d94db48d6f6c94cb
parent a6b8544c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -86,7 +86,7 @@ static std::set<const std::string> extra_hal_interfaces_to_dump;

static void read_extra_hals_to_dump_from_property() {
    // extra hals to dump are already filled
    if (extra_hal_interfaces_to_dump.size() > 0) {
    if (!extra_hal_interfaces_to_dump.empty()) {
        return;
    }
    std::string value = android::base::GetProperty("ro.dump.hals.extra", "");