Tom Cherry | a285984 | 2015-08-14 13:06:45 -0700 | [diff] [blame^] | 1 | # One shot invocation to deal with encrypted volume. |
| 2 | service 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 |
| 9 | service 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) |