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 /boot_control_android_unittest.cc | |
| 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 'boot_control_android_unittest.cc')
| -rw-r--r-- | boot_control_android_unittest.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/boot_control_android_unittest.cc b/boot_control_android_unittest.cc index 6460ffec..23757140 100644 --- a/boot_control_android_unittest.cc +++ b/boot_control_android_unittest.cc @@ -273,6 +273,8 @@ class BootControlAndroidTest : public ::testing::Test { ON_CALL(dynamicControl(), IsDynamicPartitionsEnabled()) .WillByDefault(Return(true)); + ON_CALL(dynamicControl(), IsDynamicPartitionsRetrofit()) + .WillByDefault(Return(false)); ON_CALL(dynamicControl(), GetDeviceDir(_)) .WillByDefault(Invoke([](auto path) { *path = kFakeDevicePath; |
