vold: Fix password update bug with HW FDE
HW FDE has an issue where changing password does not work. Following
is the sequence that is broken:
1. Change the password to PIN/Password/Pattern
2. Change password to None/Swipe
3. Reboot the device
4. Change password to PIN and select "not required to boot device"
5. Reboot the device
6. Change password to None
7. Change password to PIN and select "Required to boot device"
8. Reboot the device.
9. None of password would work because previous password was not updated
for HW FDE
Change-Id: Ibdfc2b7217abcff3eabff9ae11aa5198ee00181e
1 file changed