Check for malformed Sensor Flattenable am: 962b5a4d37 am: 938eb4a710

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

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