added " @SuppressLint("NewApi") " to fixx issue