commit | ef4a8d74de47f2387ad83c651fff4d63e86c1544 | [log] [tgz] |
---|---|---|
author | Dinesh K Garg <dineshg@codeaurora.org> | Fri Sep 18 09:55:53 2015 -0700 |
committer | Linux Build Service Account <lnxbuild@localhost> | Tue Oct 06 03:29:17 2015 -0600 |
tree | b72cf2ece54859b8764d85881e1911c10ae1d79f | |
parent | 831c845c9cf2f634df88bdc4ac100603de607b9f [diff] |
vold: Fix HW FDE OTA support on SW FDE encrypted device If an OTA is delivered to a device encrypted with SW FDE, an OTA of HW FDE should not force user to switch to HW FDE and hence wipe of all userdata. Instead, it should continue using SW FDE until user itself perform factory reset. After factory reset, HW FDE would be used to encrypt the data. This support somehow was broken. This change fixes the support. Change-Id: If31ccbd377e5a161a90b2e4a2c53dcc52712b49c