timob-18048: add check for API level.