public function __construct(Manager $manager, array $config) { parent::__construct($manager, $config); $this->setRetryLimit(Manager::readConfig($config, Manager::RES_CONFIG_RETRY, self::DEFAULT_RETRY_LIMIT)); $this->setRetryDelay(Manager::readConfig($config, Manager::RES_CONFIG_RETRY, self::DEFAULT_RETRY_DELAY)); $this->retryOffset = intval($this->retryDelay / 10); $this->position = Position::instance($manager, $this->app); $this->delay = Delay::instance($manager, $this->app); $this->adb = ADB::instance($manager, $this->app); $this->scr = Screen::instance($manager, $this->app); }