Adds null check for proximity wakelock Bug: 11319677 Change-Id: Ie62144dc5a738bb294a802230dce7847f734f39e