diff options
author | Kelvin Zhang <zhangkelvin@google.com> | 2021-02-10 13:21:47 -0500 |
---|---|---|
committer | Kelvin Zhang <zhangkelvin@google.com> | 2021-02-17 02:15:01 +0000 |
commit | 0618835556f95af038b7f19777b5aa2f96c79b52 (patch) | |
tree | 5f4caa2e60812c76e85feccd9704845f5ebfc2c2 /common/dynamic_partition_control_interface.h | |
parent | 3a55fc2e5f2635a1aea5695359445d8117545d57 (diff) |
Use UpdateUsesSnapshotCompression to determine if VABC is used
Test: th
Change-Id: Ia04f92d46da34fcd28d7e97c24b6e02fd676e1c7
Diffstat (limited to 'common/dynamic_partition_control_interface.h')
-rw-r--r-- | common/dynamic_partition_control_interface.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/dynamic_partition_control_interface.h b/common/dynamic_partition_control_interface.h index 61127d4e..8b29c3b0 100644 --- a/common/dynamic_partition_control_interface.h +++ b/common/dynamic_partition_control_interface.h @@ -69,6 +69,9 @@ class DynamicPartitionControlInterface { // Return the feature flags of Virtual A/B on this device. virtual FeatureFlag GetVirtualAbFeatureFlag() = 0; // Return the feature flags of Virtual A/B Compression on this device. + // This function will tell you if current device supports VABC. However, it + // DOES NOT tell you if VABC is used for current OTA update. For that, use + // UpdateUsesSnapshotCompression. virtual FeatureFlag GetVirtualAbCompressionFeatureFlag() = 0; // Attempt to optimize |operation|. |