• Ken Sumrall's avatar
    Fix to not return a bogus decryption error when a device is not encrypted. · e1a45857
    Ken Sumrall authored
    If there is filesystem damage on a non-encrypted device, and /data is not
    mountable, and if the device stores the keys in a file on a different
    partition (like on Crespo) then, vold would return an error which caused
    the crypto UI to present an option to the user to wipe the device because
    it assumed encryption had failed.  This fixes it to not do that.
    
    Change-Id: Ibff6299787b45768416dbc4052de7db3b140b808
    e1a45857
cryptfs.c 46 KB