timob-14311: add check for API level.