commit | f9464b4faa1ae76e2c1f8cf2e217e375e93465ad | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Mon Jul 22 18:18:24 2019 -0700 |
committer | Yifan Hong <elsk@google.com> | Wed Jul 31 17:43:14 2019 +0000 |
tree | 7db6b98cd286ae72fa2cf6230b71ab6d22544fbb | |
parent | 5d2c453db110c642a30caab42cd2cc082ff86acb [diff] |
DynamicPartitionControlAndroid::LoadMetadataBuilder: always NewForUpdate MetadataBuilder::NewForUpdate handles both retrofit DAP and launch DAP devices, so there is no need to differetiate using sysprops here. In tests, LoadMetadataBuilder is just mocked, because there's no interesting logic to be tested. Test: unit tests Test: manually apply OTA on launch device Change-Id: Id24b105e523435f4f273cb57f995e6b778703ef1