Proximity : Check proximity flags only if from native

Change-Id: Id1be619e638de6a45252d8390eab6e38bd5de5a7
(cherry picked from commit 2293e60c7de011782e59486605c04b9f67a1e24f)