Remove some new memory leaks from SensorManager am: 2f8fa1367c am: 9433e8caea

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

Change-Id: I1d1bc7e0e1b29bfb7a701b8a8a33994d12e2ce79
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>