diff options
author | Yifan Hong <elsk@google.com> | 2018-11-19 14:12:37 -0800 |
---|---|---|
committer | Yifan Hong <elsk@google.com> | 2018-11-20 19:07:04 +0000 |
commit | 6e38b35e56a93737e518e774d74fd9d51601e4e2 (patch) | |
tree | 013ba86608a0165f82949e59b0c98751efbfb8e1 /dynamic_partition_control_interface.h | |
parent | 124a460c272402a2da91ecdd37fc347de3b3068e (diff) |
Retrofit devices do not do allocatable space / 2.
Retrofit devices have two supers, so the allocatable
space does not need to be halved.
Test: manual OTA
Bug: 118506262
Change-Id: I31c77b9318e7c0b6bc6d1a8ae6efa70a3383b05f
Diffstat (limited to 'dynamic_partition_control_interface.h')
-rw-r--r-- | dynamic_partition_control_interface.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dynamic_partition_control_interface.h b/dynamic_partition_control_interface.h index b92d88ab..86a07300 100644 --- a/dynamic_partition_control_interface.h +++ b/dynamic_partition_control_interface.h @@ -35,6 +35,9 @@ class DynamicPartitionControlInterface { // Return true iff dynamic partitions is enabled on this device. virtual bool IsDynamicPartitionsEnabled() = 0; + // Return true iff dynamic partitions is retrofitted on this device. + virtual bool IsDynamicPartitionsRetrofit() = 0; + // Map logical partition on device-mapper. // |super_device| is the device path of the physical partition ("super"). // |target_partition_name| is the identifier used in metadata; for example, |