2015-08-14 22:06:45 +02:00
|
|
|
# One shot invocation to deal with encrypted volume.
|
2016-04-16 00:41:33 +02:00
|
|
|
on defaultcrypto
|
|
|
|
exec - root -- /system/bin/vdc --wait cryptfs mountdefaultencrypted
|
2015-08-14 22:06:45 +02:00
|
|
|
# vold will set vold.decrypt to trigger_restart_framework (default
|
|
|
|
# encryption) or trigger_restart_min_framework (other encryption)
|
|
|
|
|
|
|
|
# One shot invocation to encrypt unencrypted volumes
|
2016-04-16 00:41:33 +02:00
|
|
|
on encrypt
|
|
|
|
start surfaceflinger
|
|
|
|
exec - root -- /system/bin/vdc --wait cryptfs enablecrypto inplace default noui
|
2015-08-14 22:06:45 +02:00
|
|
|
# vold will set vold.decrypt to trigger_restart_framework (default
|
|
|
|
# encryption)
|