The kernel layer also includes native library which include surface manager , SQLite , media framework , weblit , and SSL . The native library is written in C and C++ , which provide the core power to the android platform.
The surface manager is responsible for composing different drawing surfaces on to the screen . It is the surface manager that manages the different windows running different processes presented to the user at different times.