OSDN Git Service

Move crypt commands to a different listener in vold
authorPaul Lawrence <paullawrence@google.com>
Wed, 3 Jun 2015 21:19:51 +0000 (14:19 -0700)
committerPaul Lawrence <paullawrence@google.com>
Thu, 4 Jun 2015 21:29:01 +0000 (21:29 +0000)
commitd0b4295ccc07d0cd715ade415c8c0d7d6945880e
treeed569787d1e08b815af1ff6fd444478660ef7ed5
parent0628fa25141261e549f06d1c6f9e9f3d29e2b8f0
Move crypt commands to a different listener in vold

In order to prevent this bug from happening, we must allow vold cryptfs
commands to complete while a long running mount is underway.

While waiting for vold to be changed to a binder interface, we will simply
create two listeners, one for cryptfs and one for everything else.

Bug: 19197175
Change-Id: If74142aa81abd58f718a9de6c9e387f6ea442754
Android.mk
CommandListener.cpp
CommandListener.h
CryptCommandListener.cpp [new file with mode: 0644]
CryptCommandListener.h [new file with mode: 0644]
main.cpp
vdc.c