libmediaplayerservice: Fix bug due to operator precedence

Change-Id: Icfd513eb3b03a0dfffdcc5427dc773b74ab19488