Only format /data in recovery if user specified a new fstype
recovery mode does not have key services, so formatting volumes in recovery would result in an unencrypted image. If init detects an unencrypted /data image, encrypt_inplace would be called. We would like to avoid using `encrypt_inplace` in production. So do not format /data in recovery for regular data wipes. Test: th Bug: 293313353 Change-Id: I401da2a876ed22b426872c80c231397c12ec0737
Loading