Merge changes I51839f56,I821c42c3,I77ac3f77,I91afd69d am: 8b90646c99 am: 21caa80f85 am: 2cc6ed18f8 am: 2768a7b6ba

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

Change-Id: I5d3dd2727281d9a67c69105192615ca2944b6109