Clean up check for allowing transparent status bar.

Change-Id: I9f8339981dbaaa69e6494b822f42add6cce2a360