[automerger skipped] Prevent mEventCache UAF in SensorEventConnection am: 09052cc665 -s ours am: 1ad157dadf -s ours am: 564de3bb1f -s ours am: 3d8f2d71fd -s ours am: 850191ffbb -s ours am: 493347b7aa -s ours am: c33d16d445 -s ours am: 21bdc1b297 -s ours

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

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

Change-Id: Ifeec5d16d7de9035d9540b0bb582e5028e62fd21