Hi,
The *frameworks/base/cmds/surfaceflinger/m**ain_surfaceflinger.cpp* file 
contains a function called main(argc, argv).
This function simply adds the SurfaceFlinger to the list of working 
services.
I have two questions:

1. Who calls this function? Where can I edit the argc, argv parameters in 
that case?* (can I?)*
2. What is the need for such a function? after all, system_init.cpp adds 
the surfaceflinger to the list of working services without calling this 
function at all.

It also seems weird to me that the surfaceflinger also appears in the 
init.rc file....I guess it is just monitored from there and not executed....

I would really appreciate any help...

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to