Merge "Revert^2 "Fix incompatibilities with Kotlin 1.5.0"" am: b7bccf0c76 am: c4db697186

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1709778

Change-Id: If3e51f818d2ac479af7f829b0781fbefffe028f4