diff options
author | Ken Sumrall <ksumrall@android.com> | 2011-01-14 15:20:02 -0800 |
---|---|---|
committer | Ken Sumrall <ksumrall@android.com> | 2011-01-14 15:20:02 -0800 |
commit | 6864b7ec94a57b73c300457955d86dc604aeddf5 (patch) | |
tree | d880913083f0bf9e4fc41ccb06b9460e1f2043c8 /cryptfs.h | |
parent | 2eaf7138528d30c331d83ab8346a97e66b5499e2 (diff) | |
download | android_system_vold-6864b7ec94a57b73c300457955d86dc604aeddf5.tar.gz android_system_vold-6864b7ec94a57b73c300457955d86dc604aeddf5.tar.bz2 android_system_vold-6864b7ec94a57b73c300457955d86dc604aeddf5.zip |
Change the cryptfs command to separate out checking the password and restarting
In order to make the animations and the UI look right, we need to change
the cryptfs checkpw command to return a status if the password was
correct or not, and not have it automatically restart if it's correct.
There is a new command restart that will restart the framework with the
encrypted filesystem.
Change-Id: Ia8ae00d7ed8667699aa58d05ad8ba953cca9316e
Diffstat (limited to 'cryptfs.h')
-rw-r--r-- | cryptfs.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -53,6 +53,7 @@ struct crypt_mnt_ftr { extern "C" { #endif int cryptfs_check_passwd(char *pw); + int cryptfs_restart(void); int cryptfs_enable(char *flag, char *passwd); #ifdef __cplusplus } |