diff options
author | cfig <yuyezhong@gmail.com> | 2019-08-29 13:17:28 +0800 |
---|---|---|
committer | cfig <yuyezhong@gmail.com> | 2019-08-29 13:19:29 +0800 |
commit | f60613b4e8cda91e9ca73c733ca8517af3264b41 (patch) | |
tree | 5d642dd10f34c8c2769560b42e5ca3758d36acfb /init/interface_utils.cpp | |
parent | 50ca44840288e8892091132423f59642a09eee90 (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
Diffstat (limited to 'init/interface_utils.cpp')
0 files changed, 0 insertions, 0 deletions