check android version for sync adapter