Proximity : Check proximity flags only if from native

Change-Id: Id1be619e638de6a45252d8390eab6e38bd5de5a7
(cherry picked from commit 2293e60c7de011782e59486605c04b9f67a1e24f)
Merge pull request #77 from CyanogenMod/stable/cm-11.0

Proximity : Check proximity flags only if from native