Added in API level 21
Deprecated in API level 28