diff options
author | Robert Greenwalt <rgreenwalt@google.com> | 2012-02-16 14:43:03 -0800 |
---|---|---|
committer | Robert Greenwalt <rgreenwalt@google.com> | 2012-02-29 16:51:44 -0800 |
commit | 149aa3eb65a8cb878781206b1476aae110e0e1fd (patch) | |
tree | 8185b1f4868066342f106927f9e6c2a73bf58615 /CommandListener.cpp | |
parent | 9713ed463917f193823c7c6ecf1c7cb2a1ae9fcc (diff) | |
download | android_system_vold-149aa3eb65a8cb878781206b1476aae110e0e1fd.tar.gz android_system_vold-149aa3eb65a8cb878781206b1476aae110e0e1fd.tar.bz2 android_system_vold-149aa3eb65a8cb878781206b1476aae110e0e1fd.zip |
Use the new command numbering scheme.
Support multiple commands on a single socket via command numbers.
NativeDaemonConnector has been changed, so we need to use it here
too.
bug:5864209
Change-Id: Ie06e966d50057d122a958377731c0385ea367b69
Diffstat (limited to 'CommandListener.cpp')
-rw-r--r-- | CommandListener.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/CommandListener.cpp b/CommandListener.cpp index 97ed2ce..33af9e5 100644 --- a/CommandListener.cpp +++ b/CommandListener.cpp @@ -40,7 +40,7 @@ #include "cryptfs.h" CommandListener::CommandListener() : - FrameworkListener("vold") { + FrameworkListener("vold", true) { registerCmd(new DumpCmd()); registerCmd(new VolumeCmd()); registerCmd(new AsecCmd()); @@ -566,4 +566,3 @@ int CommandListener::CryptfsCmd::runCommand(SocketClient *cli, return 0; } - |