Added support for pause/resume and CPU cores count in Android