Ensure looper isn't used after invalidateSensorQueue v3

Previous attempts resulted in improper locking that created a deadlock
siutation. This attempt creates a new lock for mValid that should avoid
any deadlock scenario that could arise from normal use.

Bug: 156458249
Test: Load on Pixel device and run various applications
Change-Id: I4e5a68b70353161f21e0d93cac1ceb11cc9ad035
3 files changed