Property to enable debugging.
Bug: 19993667 Change-Id: Ie226e06edcb426caca2dbc97d2d5d60ae948c85e
This commit is contained in:
parent
ba6747f119
commit
b0667870ff
1 changed files with 4 additions and 0 deletions
4
main.cpp
4
main.cpp
|
@ -84,6 +84,10 @@ int main(int argc, char** argv) {
|
|||
exit(1);
|
||||
}
|
||||
|
||||
if (property_get_bool("vold.debug", false)) {
|
||||
vm->setDebug(true);
|
||||
}
|
||||
|
||||
cl = new CommandListener();
|
||||
vm->setBroadcaster((SocketListener *) cl);
|
||||
nm->setBroadcaster((SocketListener *) cl);
|
||||
|
|
Loading…
Reference in a new issue