Block dynamic connection event if sensor not found am: fb4e33acfe am: 519ba2496e

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

Change-Id: I9e1098a00a4b9b1087a98e1568b212518ad300b0