liblp: Use ro.boot.slot_suffix rather than ro.build.ab_update.
Bug: 130433329 Test: liblp_test gtests Change-Id: I229f582dc829884e4e90187981902cd4d45637c6
This commit is contained in:
parent
243887b1e1
commit
82dee3ea69
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue