commit | e1a458578474954ea38456aacedbaf2ddfd37988 | [log] [tgz] |
---|---|---|
author | Ken Sumrall <ksumrall@android.com> | Wed Dec 14 21:24:27 2011 -0800 |
committer | Ken Sumrall <ksumrall@android.com> | Wed Dec 14 22:33:45 2011 -0800 |
tree | 793d6a82d1644d57502ab2bbdd17b73e3b7a9b28 | |
parent | 8c4873319a77c54cc198a4e5f4429099ff9da4f7 [diff] |
Fix to not return a bogus decryption error when a device is not encrypted. 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