Fix possible race condition in Sensor CTS framework.

Change-Id: I68bf76add3e65315362be044f15374d9a02ce38a
1 file changed