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

Commit 82dee3ea authored by David Anderson's avatar David Anderson
Browse files

liblp: Use ro.boot.slot_suffix rather than ro.build.ab_update.

Bug: 130433329
Test: liblp_test gtests
Change-Id: I229f582dc829884e4e90187981902cd4d45637c6
parent 243887b1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1057,7 +1057,7 @@ bool MetadataBuilder::IsABDevice() const {
    if (sABOverrideSet) {
        return sABOverrideValue;
    }
    return android::base::GetBoolProperty("ro.build.ab_update", false);
    return !android::base::GetProperty("ro.boot.slot_suffix", "").empty();
}

bool MetadataBuilder::IsRetrofitDevice() const {