Remove vdc.rc

Now that FDE is no longer supported, the "defaultcrypto" and "encrypt"
events are never triggered.  Therefore, the actions in vdc.rc aren't
needed anymore.

Bug: 191796797
Change-Id: Icdff584ec664b3e038f0accdc826437d261fed51
This commit is contained in:
Eric Biggers 2021-11-10 13:56:28 -08:00
parent 72ca0cf3f9
commit d89e239c56
2 changed files with 0 additions and 13 deletions

View file

@ -233,7 +233,6 @@ cc_binary {
static_libs: [
"libvold_binder",
],
init_rc: ["vdc.rc"],
}
cc_binary {

12
vdc.rc
View file

@ -1,12 +0,0 @@
# One shot invocation to deal with encrypted volume.
on defaultcrypto
exec - root -- /system/bin/vdc --wait cryptfs mountdefaultencrypted
# 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
on encrypt
start surfaceflinger
exec - root -- /system/bin/vdc --wait cryptfs enablecrypto
# vold will set vold.decrypt to trigger_restart_framework (default
# encryption)