Tom Cherry | a285984 | 2015-08-14 13:06:45 -0700 | [diff] [blame] | 1 | # One shot invocation to deal with encrypted volume. |
Paul Lawrence | 84274cc | 2016-04-15 15:41:33 -0700 | [diff] [blame] | 2 | on defaultcrypto |
| 3 | exec - root -- /system/bin/vdc --wait cryptfs mountdefaultencrypted |
Tom Cherry | a285984 | 2015-08-14 13:06:45 -0700 | [diff] [blame] | 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 |
Paul Lawrence | 84274cc | 2016-04-15 15:41:33 -0700 | [diff] [blame] | 8 | on encrypt |
| 9 | start surfaceflinger |
Paul Lawrence | 7ee87cf | 2017-12-22 10:12:06 -0800 | [diff] [blame] | 10 | exec - root -- /system/bin/vdc --wait cryptfs enablecrypto |
Tom Cherry | a285984 | 2015-08-14 13:06:45 -0700 | [diff] [blame] | 11 | # vold will set vold.decrypt to trigger_restart_framework (default |
| 12 | # encryption) |