Merge "Add a hidden API to apply a transform the content of an event." into sc-dev am: 00c2e36c3b

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

Change-Id: I9417fb4121e8a4cc0549afef2a4062caebee7411