I think it would be better to have something like "if `TEGRA_DETECTOR`, but API level is less then necessary, then print error". It would be less surprising.