Merge changes If7bbb5d5,I2174c17f am: 040a18c6ea am: fb83c78a7d am: d2433118bb am: 207e95ba06

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

Change-Id: I466e471d2a420e8fb2c0f5094a700fa614827bac