Android 5.1.1 release 6
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEABECAAYFAlWRhTcACgkQ6K0/gZqxDngE3gCfaurxhx/u22RcGyJUBNJuVvyI
7XcAn3+Q1gZ5+3LsIPBR2h8Yxi0WS97k
=trPM
-----END PGP SIGNATURE-----
fs_mgr: introduce fs_mgr_format to format wiped partitions

Move fastboot's format logic into fs_mgr, to consolidate the knowledge
about how to do this (and when to wipe metadata).

Try to format these formattable paritions if they are wiped.

If formatting fails, we will fall out to let recovery mode handle it.

Bug: 20082763
Change-Id: I397cc197550e78d932e8a154fd234695c46dbe7b
10 files changed