By going through the code of vold,
I found there are a couple of lines of code in main.cpp (system/vold/main.cpp) that I dont get the real function of these.
Those are..
1.
vm->setBroadcaster((SocketListener *) cl);
nm->setBroadcaster((SocketListener *) cl);
2.
coldboot("/sys/block");
Why vold does a coldboot here?
Could anyone explain a bit about why vold does this?
Thanks