Fix proximity sensor issue

Change-Id: Ifb3bf36a013ce8ebca7b18acd193329c5e621585