Get back to sdk api level 8, adding a conditional and an explanation