AndroidUtil: fix android lint violation (TargetApi)