blob: 4d51ced245448e6cdf416a3a4cfb09252f6f6d4c [file] [log] [blame]
Tom Cherrya2859842015-08-14 13:06:45 -07001# One shot invocation to deal with encrypted volume.
Paul Lawrence84274cc2016-04-15 15:41:33 -07002on defaultcrypto
3 exec - root -- /system/bin/vdc --wait cryptfs mountdefaultencrypted
Tom Cherrya2859842015-08-14 13:06:45 -07004 # vold will set vold.decrypt to trigger_restart_framework (default
5 # encryption) or trigger_restart_min_framework (other encryption)
6
7# One shot invocation to encrypt unencrypted volumes
Paul Lawrence84274cc2016-04-15 15:41:33 -07008on encrypt
9 start surfaceflinger
10 exec - root -- /system/bin/vdc --wait cryptfs enablecrypto inplace default noui
Tom Cherrya2859842015-08-14 13:06:45 -070011 # vold will set vold.decrypt to trigger_restart_framework (default
12 # encryption)