Merge "Check if sensor is accessible on flush" into rvc-dev am: 9aacd0cffd am: f708228c02 am: 935cf8beb3 am: a3f74c0de2

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/12091816

Change-Id: Idf940b18809968c9f8cb37546a7151037f668f13