Use an integer instead of android.os.Build.VERSION_CODES.JELLY_BEAN.