commit | 18aea279ca7e191c664007ca9a8753999d40f58f | [log] [tgz] |
---|---|---|
author | Captain Throwback <captainthrowback@hotmail.com> | Thu Oct 29 12:43:17 2020 -0400 |
committer | bigbiff <bigbiff@teamw.in> | Wed Nov 11 00:58:52 2020 +0000 |
tree | 1519a5d379fe7b06e460f9d396a6cccdd68441c0 | |
parent | a991022e7cca1f4eff5b55bf55901aaef1f724a5 [diff] |
fde: move crypto state & type setting to function In order to make sure the crypto state and type is set properly if the device is encrypted, move this check to a function and call it in cases where the default password is being used and in cases where it isn't. This will ensure that an unencrypted device isn't set as encrypted by mistake. Change-Id: I736f9cbee0e95d7390a09c8235b9914feddaceaf