3963b23645
Bug: 26778031 Test: Boots, reboots, sector 0 of userdata encrypted Make sure an FDE device, both default and password protected, boots. Make sure an FBE device without metadata encryption boots. Change-Id: Ic44a32ce7e9b978e9c9e2dc112b26206741c838d
14 lines
576 B
Text
14 lines
576 B
Text
# One shot invocation to deal with encrypted volume.
|
|
on defaultcrypto
|
|
start vold
|
|
exec - root -- /system/bin/vdc --wait cryptfs mountdefaultencrypted
|
|
# vold will set vold.decrypt to trigger_restart_framework (default
|
|
# encryption) or trigger_restart_min_framework (other encryption)
|
|
|
|
# One shot invocation to encrypt unencrypted volumes
|
|
on encrypt
|
|
start surfaceflinger
|
|
start vold
|
|
exec - root -- /system/bin/vdc --wait cryptfs enablecrypto inplace default noui
|
|
# vold will set vold.decrypt to trigger_restart_framework (default
|
|
# encryption)
|