1# One shot invocation to deal with encrypted volume.
2on defaultcrypto
3    exec - root -- /system/bin/vdc --wait cryptfs mountdefaultencrypted
4    # 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
8on encrypt
9    start surfaceflinger
10    exec - root -- /system/bin/vdc --wait cryptfs enablecrypto
11    # vold will set vold.decrypt to trigger_restart_framework (default
12    # encryption)
13