commit | 287164c3b04554dac262d6e61a70927c7cb99b1f | [log] [tgz] |
---|---|---|
author | cfig <yuyezhong@gmail.com> | Thu Aug 29 13:17:28 2019 +0800 |
committer | cfig <yuyezhong@gmail.com> | Thu Aug 29 13:19:29 2019 +0800 |
tree | 5d642dd10f34c8c2769560b42e5ca3758d36acfb | |
parent | f3c69bde9899ccae48a7d673492df3afacbcafa4 [diff] |
fastboot: preserve partition_type if wants_wipe=true originally if wants_wipe=true, program will erase and format partitions, but after fb->Erase(), partition type should be raw(all 0xFFs), then following fb_perform_format() will miss its original partition_type Now we call fb_perform_format() with original fs type to keep the partition consistent after wiping. Change-Id: Ic778850588d5dd6fee23169d20c26bcbaa510627