need {} here.
if () {
} else {
}

http://source.android.com/source/code-style.html
sorry for missing this issue last time.
@fyraimar  @halton