vdc.rc 525 B

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