[automerger skipped] Prevent mEventCache UAF in SensorEventConnection am: 3b27b3b3bb -s ours

am skip reason: Change-Id Ia9275b7cc574df371cdb2e1b80c6699df193b580 with SHA-1 bbf3b37748 is in history

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

Change-Id: Ie85a4486e166ec5636ba991e768b6927fd1a1e9b