Disable verity for VABC updates on android R
Bug: 230277030 Test: th Change-Id: I2872c490c852fb7d3784721e191ece80b4b1fd58
This commit is contained in:
@@ -454,6 +454,11 @@ class BuildInfo(object):
|
||||
vendor_prop.GetProp("ro.virtual_ab.compression.enabled") == "true"
|
||||
return vabc_enabled
|
||||
|
||||
@property
|
||||
def is_android_r(self):
|
||||
system_prop = self.info_dict.get("system.build.prop")
|
||||
return system_prop and system_prop.GetProp("ro.build.version.release") == "11"
|
||||
|
||||
@property
|
||||
def is_vabc_xor(self):
|
||||
vendor_prop = self.info_dict.get("vendor.build.prop")
|
||||
|
Reference in New Issue
Block a user