7ee87cfcbe
Bug: 64766105 Test: FBE boots, forceencrypt boots, set pattern, reboots, encryptable boots and can be encrypted Change-Id: I8c6dc0acdc37c3a6f1bea28d5607ed8938a4eb0c
12 lines
525 B
Text
12 lines
525 B
Text
# One shot invocation to deal with encrypted volume.
|
|
on defaultcrypto
|
|
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
|
|
exec - root -- /system/bin/vdc --wait cryptfs enablecrypto
|
|
# vold will set vold.decrypt to trigger_restart_framework (default
|
|
# encryption)
|