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

This commit is contained in:
David Anderson 2019-04-15 18:55:51 +00:00 committed by Gerrit Code Review
commit 2c561d18d8

View file

@ -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 {