Merge "liblp: Use ro.boot.slot_suffix rather than ro.build.ab_update."
This commit is contained in:
commit
2c561d18d8
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…
Add table
Reference in a new issue