Proximity : Check proximity flags only if from native

Change-Id: Id1be619e638de6a45252d8390eab6e38bd5de5a7

Conflicts:
	services/java/com/android/server/power/PowerManagerService.java