blob: e8428697b1009f41c4b84eae823c722dc566a38d [file] [log] [blame]
Tom Cherrya2859842015-08-14 13:06:45 -07001# One shot invocation to deal with encrypted volume.
2service defaultcrypto /system/bin/vdc --wait cryptfs mountdefaultencrypted
3 disabled
4 oneshot
5 # vold will set vold.decrypt to trigger_restart_framework (default
6 # encryption) or trigger_restart_min_framework (other encryption)
7
8# One shot invocation to encrypt unencrypted volumes
9service encrypt /system/bin/vdc --wait cryptfs enablecrypto inplace default
10 disabled
11 oneshot
12 # vold will set vold.decrypt to trigger_restart_framework (default
13 # encryption)